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 |
---|---|
MulticastRequest |
MulticastRequestDecoder.decodeMulticastRequest(ByteBuffer buf,
InvocationConstraints constraints,
ClientSubjectChecker checker)
Decodes the multicast request data contained in the given buffer in a
manner that satisfies the specified absolute constraints and client
subject checker (if any), returning a
MulticastRequest instance
that contains the decoded data. |
MulticastRequest |
DelayedMulticastRequestDecoder.decodeMulticastRequest(ByteBuffer buf,
InvocationConstraints constraints,
ClientSubjectChecker checker,
boolean delayConstraintCheck)
Decodes the multicast request data contained in the given buffer in a
manner that satisfies the specified absolute constraints and client
subject checker (if any), returning a
MulticastRequest instance
that contains the decoded data, with constraint checking optionally
delayed. |
abstract MulticastRequest |
Discovery.decodeMulticastRequest(DatagramPacket packet,
InvocationConstraints constraints,
ClientSubjectChecker checker)
Decodes the multicast request data contained in the given datagram in a
manner that satisfies the specified constraints and client subject
checker (if any), returning a
MulticastRequest instance that
contains the decoded data. |
MulticastRequest |
Discovery.decodeMulticastRequest(DatagramPacket packet,
InvocationConstraints constraints,
ClientSubjectChecker checker,
boolean delayConstraintCheck)
Decodes the multicast request data contained in the given datagram in a
manner that satisfies the specified constraints and client subject
checker (if any), returning a
MulticastRequest instance that
contains the decoded data, with constraint checking optionally
delayed. |
Modifier and Type | Method and Description |
---|---|
void |
MulticastRequestEncoder.encodeMulticastRequest(MulticastRequest request,
DatagramBufferFactory bufs,
InvocationConstraints constraints)
Encodes the given multicast request data into byte buffers obtained from
the provided datagram buffer factory, in a manner that satisfies the
specified absolute constraints.
|
abstract EncodeIterator |
Discovery.encodeMulticastRequest(MulticastRequest request,
int maxPacketSize,
InvocationConstraints constraints)
Returns an iterator which can be used to encode the given multicast
request 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 MulticastRequest |
Plaintext.decodeMulticastRequest(ByteBuffer buf)
Decodes multicast request according to the net.jini.discovery.plaintext
format.
|
MulticastRequest |
X500Server.decodeMulticastRequest(ByteBuffer buf,
InvocationConstraints constraints,
ClientSubjectChecker checker) |
MulticastRequest |
X500Server.decodeMulticastRequest(ByteBuffer buf,
InvocationConstraints constraints,
ClientSubjectChecker checker,
boolean delayConstraintCheck) |
Modifier and Type | Method and Description |
---|---|
static void |
Plaintext.encodeMulticastRequest(MulticastRequest request,
DatagramBufferFactory bufs)
Encodes multicast request according to the net.jini.discovery.plaintext
format.
|
void |
X500Client.encodeMulticastRequest(MulticastRequest request,
DatagramBufferFactory bufs,
InvocationConstraints constraints) |
Modifier and Type | Method and Description |
---|---|
MulticastRequest |
Server.decodeMulticastRequest(ByteBuffer buf,
InvocationConstraints constraints,
ClientSubjectChecker checker) |
Modifier and Type | Method and Description |
---|---|
void |
Client.encodeMulticastRequest(MulticastRequest request,
DatagramBufferFactory bufs,
InvocationConstraints constraints) |
Copyright © GigaSpaces.