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 |
---|---|
abstract UnicastResponse |
Discovery.doUnicastDiscovery(Socket socket,
InvocationConstraints constraints,
ClassLoader defaultLoader,
ClassLoader verifierLoader,
Collection context)
Performs the client side of unicast discovery, obtaining the returned
response data over the provided socket using the given default and
codebase verifier class loaders and collection of object stream context
objects in a manner that satisfies the specified constraints.
|
UnicastResponse |
UnicastDiscoveryClient.doUnicastDiscovery(Socket socket,
InvocationConstraints constraints,
ClassLoader defaultLoader,
ClassLoader verifierLoader,
Collection context,
ByteBuffer sent,
ByteBuffer received)
Performs the client side of unicast discovery, obtaining the returned
response data over the provided socket using the given default and
codebase verifier class loaders and collection of object stream context
objects in a manner that satisfies the specified absolute constraints.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
Discovery.handleUnicastDiscovery(UnicastResponse response,
Socket socket,
InvocationConstraints constraints,
ClientSubjectChecker checker,
Collection context)
Handles the server side of unicast discovery, transmitting the given
response data over the provided socket using the given collection of
object stream context objects in a manner that satisfies the specified
constraints and client subject checker (if any).
|
void |
UnicastDiscoveryServer.handleUnicastDiscovery(UnicastResponse response,
Socket socket,
InvocationConstraints constraints,
ClientSubjectChecker checker,
Collection context,
ByteBuffer received,
ByteBuffer sent)
Handles the server side of unicast discovery, transmitting the given
response data over the provided socket using the given collection of
object stream context objects in a manner that satisfies the specified
absolute constraints and client subject checker (if any).
|
Modifier and Type | Method and Description |
---|---|
UnicastResponse |
MultiIPDiscovery.getResponse(String host,
int port,
InvocationConstraints constraints) |
protected abstract UnicastResponse |
MultiIPDiscovery.performDiscovery(Discovery disco,
DiscoveryConstraints dc,
Socket s) |
static UnicastResponse |
Plaintext.readUnicastResponse(InputStream in,
ClassLoader defaultLoader,
boolean verifyCodebaseIntegrity,
ClassLoader verifierLoader,
Collection context)
Reads unicast response according to the net.jini.discovery.plaintext
format.
|
Modifier and Type | Method and Description |
---|---|
static void |
Plaintext.writeUnicastResponse(OutputStream out,
UnicastResponse response,
Collection context)
Writes unicast response according to the net.jini.discovery.plaintext
format.
|
Modifier and Type | Method and Description |
---|---|
UnicastResponse |
Client.doUnicastDiscovery(Socket socket,
InvocationConstraints constraints,
ClassLoader defaultLoader,
ClassLoader verifierLoader,
Collection context,
ByteBuffer sent,
ByteBuffer received) |
Modifier and Type | Method and Description |
---|---|
void |
Server.handleUnicastDiscovery(UnicastResponse response,
Socket socket,
InvocationConstraints constraints,
ClientSubjectChecker checker,
Collection context,
ByteBuffer received,
ByteBuffer sent) |
Copyright © GigaSpaces.