Provides an implementation of the net.jini.discovery.plaintext
discovery format, specified in the Jini Discovery and Join
Specification. The {@link com.sun.jini.discovery.plaintext.Client} class
implements the client side of the net.jini.discovery.plaintext
discovery format for the multicast request, multicast announcement, and unicast
discovery protocols, while the {@link com.sun.jini.discovery.plaintext.Server}
class implements the server side of the discovery format for those protocols.
Both classes are intended to be specified in a resource to configure the
operation of the {@link com.sun.jini.discovery.Discovery} class, as described
in the documentation for
{@link com.sun.jini.discovery.Discovery#getProtocol2(ClassLoader)}.
Supported Constraints
For each of the three discovery protocols, both Client
and
Server
support the following constraints:
- any {@link net.jini.core.constraint.ConnectionAbsoluteTime}
- any {@link net.jini.core.constraint.ConnectionRelativeTime}
- a {@link net.jini.core.constraint.ConstraintAlternatives} if at
least one element is supported
- {@link net.jini.core.constraint.Integrity#NO Integrity.NO}
- {@link net.jini.core.constraint.Confidentiality#NO Confidentiality.NO}
- {@link net.jini.core.constraint.ClientAuthentication#NO
ClientAuthentication.NO}
- {@link net.jini.core.constraint.ServerAuthentication#NO
ServerAuthentication.NO}
- {@link net.jini.core.constraint.Delegation#NO Delegation.NO}
- any {@link net.jini.core.constraint.ClientMaxPrincipal}
- any {@link net.jini.core.constraint.ClientMaxPrincipalType}
- any {@link net.jini.core.constraint.ClientMinPrincipal}
- any {@link net.jini.core.constraint.ClientMinPrincipalType}
- any {@link net.jini.core.constraint.ServerMinPrincipal}
- any {@link net.jini.core.constraint.DelegationAbsoluteTime}
- any {@link net.jini.core.constraint.DelegationRelativeTime}
(Note that ClientMaxPricipal
,
ClientMaxPrincipalType
, ClientMinPrincipal
,
ClientMinPrincipalType
, ServerMinPrincipal
,
DelegationAbsoluteTime
, and
DelegationRelativeTime
constraints are trivially
supported if ClientAuthentication.YES
,
ServerAuthentication.YES
, and Delegation.YES
are not supported.)
@since 2.0
@see "Jini Discovery and Join Specification"