|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sun.jini.discovery.ssl.Client
Implements the client side of the net.jini.discovery.ssl
unicast discovery format.
| Constructor Summary | |
Client()
|
|
| Method Summary | |
void |
checkUnicastDiscoveryConstraints(InvocationConstraints constraints)
Checks and returns normally if this client is capable of fulfilling the given absolute constraints. |
UnicastResponse |
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. |
String |
getFormatName()
Returns the name of the format implemented by this provider. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Client()
| Method Detail |
public String getFormatName()
DiscoveryFormatProvider
getFormatName in interface DiscoveryFormatProvider
public void checkUnicastDiscoveryConstraints(InvocationConstraints constraints)
throws UnsupportedConstraintException
UnicastDiscoveryClientnull constraints are
considered equivalent to empty constraints.
checkUnicastDiscoveryConstraints in interface UnicastDiscoveryClientconstraints - the constraints to check, or null
UnsupportedConstraintException - if unable to satisfy the
specified constraints
public UnicastResponse doUnicastDiscovery(Socket socket,
InvocationConstraints constraints,
ClassLoader defaultLoader,
ClassLoader verifierLoader,
Collection context,
ByteBuffer sent,
ByteBuffer received)
throws IOException,
ClassNotFoundException
UnicastDiscoveryClientnull constraints are considered equivalent
to empty constraints.
doUnicastDiscovery in interface UnicastDiscoveryClientsocket - the socket on which to perform unicast discoveryconstraints - the constraints to apply to unicast discovery, or
nulldefaultLoader - the class loader value (possibly null)
to be passed as the defaultLoader argument to
RMIClassLoader methods when unmarshalling the registrar
proxyverifierLoader - the class loader value (possibly
null) to pass to Security.verifyCodebaseIntegrity, if codebase integrity verification is
used when unmarshalling the registrar proxycontext - the collection of context information objects (possibly
null) to use when unmarshalling the registrar proxysent - a buffer containing the data already sentreceived - a buffer containing the data already received
IOException - if an error occurs in interpreting received data or
in formatting data to send
ClassNotFoundException - if the class of the discovered registrar
cannot be resolved
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||