Package | Description |
---|---|
com.sun.jini.discovery |
Provides a set of constraints, low-level utility classes, and provider
interfaces for participating in versions 1 and 2 of the multicast request,
multicast announcement, and unicast discovery protocols.
|
com.sun.jini.discovery.internal | |
com.sun.jini.discovery.plaintext |
Provides an implementation of the
net.jini.discovery.plaintext
discovery format, specified in the Jini(TM) Discovery and Join
Specification. |
Modifier and Type | Method and Description |
---|---|
MulticastAnnouncement |
MulticastAnnouncementDecoder.decodeMulticastAnnouncement(ByteBuffer buf,
InvocationConstraints constraints)
Decodes the multicast announcement data contained in the given buffer in
a manner that satisfies the specified absolute constraints, returning a
MulticastAnnouncement instance that contains the decoded data. |
MulticastAnnouncement |
DelayedMulticastAnnouncementDecoder.decodeMulticastAnnouncement(ByteBuffer buf,
InvocationConstraints constraints,
boolean delayConstraintCheck)
Decodes the multicast announcement data contained in the given buffer in
a manner that satisfies the specified absolute constraints, returning a
MulticastAnnouncement instance that contains the decoded data,
with constraint checking optionally delayed. |
abstract MulticastAnnouncement |
Discovery.decodeMulticastAnnouncement(DatagramPacket packet,
InvocationConstraints constraints)
Decodes the multicast announcement data contained in the given datagram
in a manner that satisfies the specified constraints, returning a
MulticastAnnouncement instance that contains the decoded data. |
MulticastAnnouncement |
Discovery.decodeMulticastAnnouncement(DatagramPacket packet,
InvocationConstraints constraints,
boolean delayConstraintCheck)
Decodes the multicast announcement data contained in the given datagram
in a manner that satisfies the specified constraints, returning a
MulticastAnnouncement instance that contains the decoded data, with
constraint checking optionally delayed. |
Modifier and Type | Method and Description |
---|---|
void |
MulticastAnnouncementEncoder.encodeMulticastAnnouncement(MulticastAnnouncement announcement,
DatagramBufferFactory bufs,
InvocationConstraints constraints)
Encodes the given multicast announcement data into byte buffers obtained
from the provided datagram buffer factory, in a manner that satisfies
the specified absolute constraints.
|
abstract EncodeIterator |
Discovery.encodeMulticastAnnouncement(MulticastAnnouncement announcement,
int maxPacketSize,
InvocationConstraints constraints)
Returns an iterator which can be used to encode the given multicast
announcement data into sets of
DatagramPacket s, each bounded in
length by the specified maximum packet size, in a manner that satisfies
the given constraints. |
Modifier and Type | Method and Description |
---|---|
static MulticastAnnouncement |
Plaintext.decodeMulticastAnnouncement(ByteBuffer buf)
Decodes multicast announcement according to the
net.jini.discovery.plaintext format.
|
MulticastAnnouncement |
X500Client.decodeMulticastAnnouncement(ByteBuffer buf,
InvocationConstraints constraints) |
MulticastAnnouncement |
X500Client.decodeMulticastAnnouncement(ByteBuffer buf,
InvocationConstraints constraints,
boolean delayConstraintCheck) |
Modifier and Type | Method and Description |
---|---|
static void |
Plaintext.encodeMulticastAnnouncement(MulticastAnnouncement announcement,
DatagramBufferFactory bufs)
Encodes multicast announcement according to the
net.jini.discovery.plaintext format.
|
void |
X500Server.encodeMulticastAnnouncement(MulticastAnnouncement announcement,
DatagramBufferFactory bufs,
InvocationConstraints constraints) |
Modifier and Type | Method and Description |
---|---|
MulticastAnnouncement |
Client.decodeMulticastAnnouncement(ByteBuffer buf,
InvocationConstraints constraints) |
Modifier and Type | Method and Description |
---|---|
void |
Server.encodeMulticastAnnouncement(MulticastAnnouncement announcement,
DatagramBufferFactory bufs,
InvocationConstraints constraints) |
Copyright © GigaSpaces.