|
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.IncomingMulticastRequest
public class IncomingMulticastRequest
Encapsulate the details of unmarshaling an incoming multicast request packet.
OutgoingMulticastRequest
Field Summary | |
---|---|
protected InetAddress |
addr
The address to which any responses should go. |
protected 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(DatagramPacket dgram)
Construct a new object, initialized from the contents of the given multicast request packet. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Two requests are equal if they have the same address, port, groups, and service IDs. |
InetAddress |
getAddress()
Return the address of the host to contact in order to start unicast discovery. |
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 InetAddress addr
protected int port
protected ServiceID[] serviceIDs
protected String[] groups
protected final int protoVersion
Constructor Detail |
---|
public IncomingMulticastRequest(DatagramPacket dgram) throws IOException
dgram
- the packet to unmarshal
IOException
- a problem occurred while unmarshaling
the packetMethod Detail |
---|
public InetAddress getAddress()
public int getPort()
public String[] getGroups()
public ServiceID[] getServiceIDs()
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 |