|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.jini.discovery.IncomingMulticastAnnouncement
public class IncomingMulticastAnnouncement
Encapsulate the details of unmarshaling an incoming multicast announcement packet.
OutgoingMulticastAnnouncement
Field Summary | |
---|---|
protected String[] |
groups
The groups of which the announcing lookup service is a member. |
protected LookupLocator |
locator
The LookupLocator that has been announced. |
protected int |
protoVersion
Current version of the multicast announcement protocol. |
protected ServiceID |
serviceID
The ServiceID that has been announced. |
Constructor Summary | |
---|---|
IncomingMulticastAnnouncement(DatagramPacket p)
Construct a new object, initialized by unmarshaling the contents of a multicast announcement packet. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Two announcements are equal if they have the same service ID. |
String[] |
getGroups()
Return the groups of which the announcing lookup service is a member. |
LookupLocator |
getLocator()
Return a LookupLocator for performing unicast discovery of the announcing lookup service. |
ServiceID |
getServiceID()
Return the ServiceID of the announcing lookup service. |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ServiceID serviceID
protected LookupLocator locator
protected String[] groups
protected final int protoVersion
Constructor Detail |
---|
public IncomingMulticastAnnouncement(DatagramPacket p) throws IOException
p
- the packet to unmarshal
IOException
- a problem occurred in unmarshaling the
packetMethod Detail |
---|
public ServiceID getServiceID()
public LookupLocator getLocator()
LookupLocator
for performing unicast
discovery of the announcing lookup servicepublic String[] getGroups()
public int hashCode()
hashCode
in class Object
public boolean equals(Object o)
equals
in class Object
|
GigaSpaces XAP 9.7.2 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |