net.jini.discovery
Class Constants

java.lang.Object
  |
  +--net.jini.discovery.Constants

public class Constants
extends java.lang.Object

A holder class for constants that pertain to the unicast and multicast discovery protocols.


Field Summary
static short discoveryPort
          The port for both unicast and multicast boot requests.
 
Method Summary
static java.net.InetAddress getAnnouncementAddress()
          Return the address of the multicast group over which the multicast announcement protocol takes place.
static java.net.InetAddress getRequestAddress()
          Return the address of the multicast group over which the multicast request protocol takes place.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

discoveryPort

public static final short discoveryPort
The port for both unicast and multicast boot requests.
Method Detail

getRequestAddress

public static final java.net.InetAddress getRequestAddress()
                                                    throws java.net.UnknownHostException
Return the address of the multicast group over which the multicast request protocol takes place.

getAnnouncementAddress

public static final java.net.InetAddress getAnnouncementAddress()
                                                         throws java.net.UnknownHostException
Return the address of the multicast group over which the multicast announcement protocol takes place.


Copyright © 1999 Sun Microsystems, Inc. All rights reserved