|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.jini.discovery.IncomingMulticastAnnouncement
Encapsulate the details of unmarshaling an incoming multicast announcement packet.
OutgoingMulticastAnnouncement
Field Summary | |
protected java.lang.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(java.net.DatagramPacket p)
Construct a new object, initialized by unmarshaling the contents of a multicast announcement packet. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Two announcements are equal if they have the same service id. |
java.lang.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 java.lang.String[] groups
protected final int protoVersion
Constructor Detail |
public IncomingMulticastAnnouncement(java.net.DatagramPacket p) throws java.io.IOException
p
- the packet to unmarshalMethod Detail |
public ServiceID getServiceID()
public LookupLocator getLocator()
public java.lang.String[] getGroups()
public int hashCode()
public boolean equals(java.lang.Object o)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |