Package | Description |
---|---|
org.apache.river.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.
|
Modifier and Type | Method and Description |
---|---|
static void |
Plaintext.checkConstraints(InvocationConstraints constraints)
Returns normally if the given constraints can be satisfied by a
plaintext-based format/protocol (such as net.jini.discovery.plaintext,
or version 1 of the discovery protocols); otherwise, throws an
UnsupportedConstraintException .
|
void |
DiscoveryConstraints.checkProtocolVersion(int version)
Checks the protocol version of an incoming multicast request,
announcement, or unicast discovery attempt, throwing an
UnsupportedConstraintException if handling of the given protocol does
not satisfy the constraints of this instance. |
void |
UnicastDiscoveryServer.checkUnicastDiscoveryConstraints(InvocationConstraints constraints)
Checks and returns normally if this server is capable of fulfilling the
given absolute constraints.
|
void |
UnicastDiscoveryClient.checkUnicastDiscoveryConstraints(InvocationConstraints constraints)
Checks and returns normally if this client is capable of fulfilling the
given absolute constraints.
|
static DiscoveryConstraints |
DiscoveryConstraints.process(InvocationConstraints constraints)
Processes the discovery-related constraints in the given set of
constraints, returning a
DiscoveryConstraints instance from
which the constraint results can be queried. |
Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.