|
GigaSpaces XAP 10.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.jini.discovery.OutgoingMulticastAnnouncement
public class OutgoingMulticastAnnouncement
Encapsulate the details of marshaling a multicast announcement into one or more packets.
IncomingMulticastAnnouncement| Field Summary | |
|---|---|
protected static int |
maxPacketSize
The maximum size we allow for an outgoing packet. |
protected static int |
minMaxPacketSize
The minimum size we allow for an outgoing packet. |
protected static int |
protocolVersion
The current version of the multicast announcement protocol. |
| Constructor Summary | |
|---|---|
OutgoingMulticastAnnouncement()
|
|
| Method Summary | |
|---|---|
static DatagramPacket[] |
marshal(ServiceID id,
LookupLocator loc,
String[] groups)
Marshal a multicast announcement into one or more datagram packets. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final int minMaxPacketSize
protected static final int maxPacketSize
protected static final int protocolVersion
| Constructor Detail |
|---|
public OutgoingMulticastAnnouncement()
| Method Detail |
|---|
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 member
IOException - a problem occurred during marshaling
|
GigaSpaces XAP 10.1 API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||