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 | Class and Description |
---|---|
class |
ClientPermissionChecker
Implementation of
ClientSubjectChecker that approves or rejects
client subjects based on whether or not they have been granted a particular
permission. |
Modifier and Type | Method and Description |
---|---|
MulticastRequest |
MulticastRequestDecoder.decodeMulticastRequest(ByteBuffer buf,
InvocationConstraints constraints,
ClientSubjectChecker checker)
Decodes the multicast request data contained in the given buffer in a
manner that satisfies the specified absolute constraints and client
subject checker (if any), returning a
MulticastRequest instance
that contains the decoded data. |
MulticastRequest |
DelayedMulticastRequestDecoder.decodeMulticastRequest(ByteBuffer buf,
InvocationConstraints constraints,
ClientSubjectChecker checker,
boolean delayConstraintCheck)
Decodes the multicast request data contained in the given buffer in a
manner that satisfies the specified absolute constraints and client
subject checker (if any), returning a
MulticastRequest instance
that contains the decoded data, with constraint checking optionally
delayed. |
abstract MulticastRequest |
Discovery.decodeMulticastRequest(DatagramPacket packet,
InvocationConstraints constraints,
ClientSubjectChecker checker)
Decodes the multicast request data contained in the given datagram in a
manner that satisfies the specified constraints and client subject
checker (if any), returning a
MulticastRequest instance that
contains the decoded data. |
MulticastRequest |
Discovery.decodeMulticastRequest(DatagramPacket packet,
InvocationConstraints constraints,
ClientSubjectChecker checker,
boolean delayConstraintCheck)
Decodes the multicast request data contained in the given datagram in a
manner that satisfies the specified constraints and client subject
checker (if any), returning a
MulticastRequest instance that
contains the decoded data, with constraint checking optionally
delayed. |
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).
|
Copyright © 2016–2018 The Apache Software Foundation. All rights reserved.