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.kerberos |
Provides an implementation of the
net.jini.discovery.kerberos
discovery format, specified in the Jini Discovery and Join
Specification. |
com.sun.jini.discovery.plaintext |
Provides an implementation of the
net.jini.discovery.plaintext
discovery format, specified in the Jini Discovery and Join
Specification. |
com.sun.jini.discovery.ssl |
Provides an implementation of the
net.jini.discovery.ssl discovery
format, specified in the Jini Discovery and Join Specification. |
net.jini.discovery |
These are utility classes and interfaces that conform to the discovery and join
protocol defined in the Jini Discovery and Join Specification.
|
Modifier and Type | Method and Description |
---|---|
UnicastResponse |
DiscoveryV2.doUnicastDiscovery(Socket socket,
InvocationConstraints constraints,
ClassLoader defaultLoader,
ClassLoader verifierLoader,
Collection context) |
UnicastResponse |
DiscoveryV1.doUnicastDiscovery(Socket socket,
InvocationConstraints constraints,
ClassLoader defaultLoader,
ClassLoader verifierLoader,
Collection context) |
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 |
---|---|
void |
DiscoveryV2.handleUnicastDiscovery(UnicastResponse response,
Socket socket,
InvocationConstraints constraints,
ClientSubjectChecker checker,
Collection context) |
void |
DiscoveryV1.handleUnicastDiscovery(UnicastResponse response,
Socket socket,
InvocationConstraints constraints,
ClientSubjectChecker checker,
Collection context) |
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 |
EndpointBasedClient.doUnicastDiscovery(Socket socket,
InvocationConstraints constraints,
ClassLoader defaultLoader,
ClassLoader verifierLoader,
Collection context,
ByteBuffer sent,
ByteBuffer received) |
UnicastResponse |
MultiIPDiscovery.getResponse(String host,
int port,
InvocationConstraints constraints) |
private UnicastResponse |
MultiIPDiscovery.getSingleResponse(String host,
long connectionTimeout,
int port,
DiscoveryConstraints dc,
Discovery disco) |
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 |
---|---|
void |
EndpointBasedServer.handleUnicastDiscovery(UnicastResponse response,
Socket socket,
InvocationConstraints constraints,
ClientSubjectChecker checker,
Collection context,
ByteBuffer received,
ByteBuffer sent) |
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) |
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) |
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) |
Modifier and Type | Field and Description |
---|---|
(package private) UnicastResponse |
LookupDiscovery.CheckReachabilityMarker.response
Response sent by lookup service to check reachability of
|
Modifier and Type | Method and Description |
---|---|
private UnicastResponse |
LookupDiscovery.doUnicastDiscovery(Socket socket,
DiscoveryConstraints unicastDiscoveryConstraints) |
private UnicastResponse |
LookupDiscovery.doUnicastDiscovery(Socket socket,
DiscoveryConstraints unicastDiscoveryConstraints,
Discovery disco)
Performs unicast discovery over given socket based on protocol in use,
applying configured security constraints (if any).
|
Modifier and Type | Method and Description |
---|---|
private void |
LookupDiscovery.maybeAddNewRegistrar(UnicastResponse resp)
If the lookup service associated with the given UnicastResponse
is not in the set of already-discovered lookup services, this method
adds it to that set, and each registered listener is notified.
|
private void |
LookupDiscovery.maybeSendEvent(UnicastResponse response,
String[] newGroups)
After a possible change in the member groups of the
ServiceRegistrar corresponding to the given
UnicastResponse parameter, this method
determines whether or not the registrar's member groups have
changed in such a way that either a changed event or a discarded
event is warranted. |
private static boolean |
LookupDiscovery.registrarsEqual(UnicastResponse resp1,
UnicastResponse resp2)
Returns true if the registrars contained in the given (possibly null)
UnicastResponse instances are equals() to one another.
|
Constructor and Description |
---|
LookupDiscovery.CheckReachabilityMarker(UnicastResponse response) |
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.