@Deprecated public class IncomingMulticastRequest extends Object
OutgoingMulticastRequest
Modifier and Type | Field and Description |
---|---|
protected InetAddress |
addr
Deprecated.
The address to which any responses should go.
|
protected String[] |
groups
Deprecated.
The groups in which the requestor is interested.
|
protected int |
port
Deprecated.
The port to which any responses should connect.
|
protected static int |
protoVersion
Deprecated.
The current version of the multicast request protocol.
|
protected ServiceID[] |
serviceIDs
Deprecated.
The ServiceIDs from which the requestor has already heard.
|
Constructor and Description |
---|
IncomingMulticastRequest(DatagramPacket dgram)
Deprecated.
Construct a new object, initialized from the contents of the
given multicast request packet.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o)
Deprecated.
Two requests are equal if they have the same address, port,
groups, and service IDs.
|
InetAddress |
getAddress()
Deprecated.
Return the address of the host to contact in order to start
unicast discovery.
|
String[] |
getGroups()
Deprecated.
Return the set of groups in which the requestor is interested.
|
int |
getPort()
Deprecated.
Return the number of the port to connect to on the remote host
in order to start unicast discovery.
|
ServiceID[] |
getServiceIDs()
Deprecated.
Return a set of ServiceIDs from which the requestor has already
heard.
|
int |
hashCode()
Deprecated.
|
protected InetAddress addr
protected int port
protected ServiceID[] serviceIDs
protected String[] groups
protected static 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 © 2016–2018 The Apache Software Foundation. All rights reserved.