public class IncomingMulticastRequest extends Object
OutgoingMulticastRequest| Modifier and Type | Field and Description | 
|---|---|
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 and Description | 
|---|
IncomingMulticastRequest(DatagramPacket dgram)
Construct a new object, initialized from the contents of the
 given multicast request packet. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
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()  | 
protected InetAddress addr
protected int port
protected ServiceID[] serviceIDs
protected String[] groups
protected final int protoVersion
public IncomingMulticastRequest(DatagramPacket dgram) throws IOException
dgram - the packet to unmarshalIOException - a problem occurred while unmarshaling
 the packetpublic InetAddress getAddress()
public int getPort()
public String[] getGroups()
public ServiceID[] getServiceIDs()
Copyright © GigaSpaces.