|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jini.discovery.DiscoveryProtocolVersion
Represents a constraint on the version of the discovery protocol used to contact lookup services. Lookup services and discovery clients can use this constraint to control what version(s) of the multicast request, multicast announcement and unicast discovery protocols are used to exchange data with each other.
Field Summary | |
static DiscoveryProtocolVersion |
ONE
Use discovery protocol version 1. |
static DiscoveryProtocolVersion |
TWO
Use discovery protocol version 2. |
Method Summary | |
boolean |
equals(Object obj)
|
static DiscoveryProtocolVersion |
getInstance(int version)
Returns a DiscoveryProtocolVersion constraint for the given
version number. |
int |
getVersion()
Returns the protocol version number. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final DiscoveryProtocolVersion ONE
public static final DiscoveryProtocolVersion TWO
Method Detail |
public static DiscoveryProtocolVersion getInstance(int version)
DiscoveryProtocolVersion
constraint for the given
version number.
public int getVersion()
public int hashCode()
public boolean equals(Object obj)
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |