@Deprecated public class OutgoingMulticastAnnouncement extends Object
IncomingMulticastAnnouncement
Modifier and Type | Field and Description |
---|---|
protected static int |
maxPacketSize
Deprecated.
The maximum size we allow for an outgoing packet.
|
protected static int |
minMaxPacketSize
Deprecated.
The minimum size we allow for an outgoing packet.
|
protected static int |
protocolVersion
Deprecated.
The current version of the multicast announcement protocol.
|
Constructor and Description |
---|
OutgoingMulticastAnnouncement()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static DatagramPacket[] |
marshal(ServiceID id,
LookupLocator loc,
String[] groups)
Deprecated.
Marshal a multicast announcement into one or more datagram
packets.
|
protected static final int minMaxPacketSize
protected static final int maxPacketSize
protected static final int protocolVersion
public static DatagramPacket[] marshal(ServiceID id, LookupLocator loc, String[] groups) throws IOException
The datagram packets returned will have been initialized for sending to the appropriate multicast address and UDP port.
id
- the ServiceID we are announcingloc
- a LookupLocator that will allow unicast discovery of
the lookup service we are announcinggroups
- the groups of which the announced lookup service
is a memberIOException
- a problem occurred during marshalingCopyright © 2016–2018 The Apache Software Foundation. All rights reserved.