|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.jini.discovery.IncomingMulticastRequest
Encapsulate the details of unmarshaling an incoming multicast request packet.
OutgoingMulticastRequest
Field Summary | |
protected java.net.InetAddress |
addr
The address to which any responses should go. |
protected java.lang.String[] |
groups
The groups in which the requestor is interested. |
protected int |
port
The port to which any responses should connect. |
protected int |
protoVersion
The current version of the multicast request protocol. |
protected ServiceID[] |
serviceIDs
The ServiceIDs from which the requestor has already heard. |
Constructor Summary | |
IncomingMulticastRequest(java.net.DatagramPacket dgram)
Construct a new object, initialized from the contents of the given multicast request packet. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Two requests are equal if they have the same address, port, groups, and service IDs. |
java.net.InetAddress |
getAddress()
Return the address of the host to contact in order to start unicast discovery. |
java.lang.String[] |
getGroups()
Return the set of groups in which the requestor is interested. |
int |
getPort()
Return the number of the port to connect to on the remote host in order to start unicast discovery. |
ServiceID[] |
getServiceIDs()
Return a set of ServiceIDs from which the requestor has already heard. |
int |
hashCode()
|
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected java.net.InetAddress addr
protected int port
protected ServiceID[] serviceIDs
protected java.lang.String[] groups
protected final int protoVersion
Constructor Detail |
public IncomingMulticastRequest(java.net.DatagramPacket dgram) throws java.io.IOException
dgram
- the packet to unmarshalMethod Detail |
public java.net.InetAddress getAddress()
public int getPort()
public java.lang.String[] getGroups()
public ServiceID[] getServiceIDs()
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 |