Uses of Interface
org.forgerock.opendj.io.RxSocket
Packages that use RxSocket
Package
Description
Classes and interfaces providing I/O functionality.
Classes and interfaces providing Reactive Streams I/O transports.
Classes and interfaces for core types including connections, entries, and
attributes.
-
Uses of RxSocket in org.forgerock.opendj.io
Classes in org.forgerock.opendj.io with type parameters of type RxSocketModifier and TypeInterfaceDescriptioninterface
RxServerSocket<M,
S extends RxSocket<M>> A reactive server socket listens for incoming connections and binds them to aRxSocket
.interface
RxTransport<M,
S extends RxSocket<M>> Subinterfaces of RxSocket in org.forgerock.opendj.ioModifier and TypeInterfaceDescriptioninterface
A reactive socket implementation representing a stream of LDAP messages. -
Uses of RxSocket in org.forgerock.opendj.io.rx
Classes in org.forgerock.opendj.io.rx that implement RxSocketModifier and TypeClassDescriptionfinal class
A reactive socket which adds SASL QOP to an underlying reactive socket..final class
A reactive socket implementation which adds SSL to an underlying reactive socket.final class
A reactive socket implementation which delegates to a replaceable delegate reactive socket.class
TransformedRxSocket<U,
D> A reactive socket which wraps an underlying downstream reactive socket, providing opportunities to transform transferred data or provide additional functionality.Fields in org.forgerock.opendj.io.rx declared as RxSocketModifier and TypeFieldDescriptionTransformedRxSocket.socket
The downstream socket, which may be altered if needed.Methods in org.forgerock.opendj.io.rx with type parameters of type RxSocketModifier and TypeMethodDescriptionReturns the active socket if it has the provided class ornull
otherwise.static <D,
DS extends RxSocket<D>, U, US extends RxSocket<U>>
RxTransport<U,US> RxIo.transformTransport
(String protocol, RxTransport<D, DS> downstream, BiFunction<Single<DS>, Options, Single<US>> connectTransformer, BiFunction<Single<DS>, RxServerSocket<D, DS>, Single<US>> acceptTransformer) Returns a reactive transport that transforms downstream client and server reactive sockets of typeD
to upstream sockets of typeU
.static <D,
DS extends RxSocket<D>, U, US extends RxSocket<U>>
RxTransport<U,US> RxIo.transformTransport
(String protocol, RxTransport<D, DS> downstream, BiFunction<Single<DS>, Options, Single<US>> connectTransformer, BiFunction<Single<DS>, RxServerSocket<D, DS>, Single<US>> acceptTransformer) Returns a reactive transport that transforms downstream client and server reactive sockets of typeD
to upstream sockets of typeU
.Methods in org.forgerock.opendj.io.rx that return RxSocketMethods in org.forgerock.opendj.io.rx that return types with arguments of type RxSocketModifier and TypeMethodDescriptionstatic RxTransport<ByteBuffer,
RxSocket<ByteBuffer>> RxIo.asyncTcpTransport
(Options options) Returns a reactive TCP transport that uses asynchronous non-blocking IO when accepting connections, sending and receiving data.static RxTransport<ByteBuffer,
RxSocket<ByteBuffer>> RxIo.memoryByteBufferTransport
(Options options) Returns a reactive transport that uses in-memory sockets for all communication.static <M> RxTransport<M,
RxSocket<M>> RxIo.memoryTransport
(Options options) Returns a reactive transport that uses in-memory sockets for all communication.static RxTransport<ByteBuffer,
RxSocket<ByteBuffer>> RxIo.syncTcpTransport
(Options options) Returns a reactive TCP transport that uses synchronous blocking IO when accepting connections, sending and receiving data.Methods in org.forgerock.opendj.io.rx with parameters of type RxSocketModifier and TypeMethodDescriptionstatic LdapSocket
RxIo.ldapClientSocket
(RxSocket<ByteBuffer> socket, Options options) Returns a reactive socket that adds an LDAP client layer to an underlying socket.static LdapSocket
RxIo.ldapServerSocket
(RxSocket<ByteBuffer> socket, Options options) Returns a reactive socket that adds an LDAP server layer to an underlying socket.void
SwitchableRxSocket.resumeReadsAfterSwitchingSocket
(RxSocket<M> newSocket) Replaces the active socket with a new socket and then resumes reading.static SaslRxSocket
RxIo.saslClientSocket
(RxSocket<ByteBuffer> socket, SaslClient saslClient) Returns a reactive socket that adds a SASL QOP client layer to an underlying socket using the provided authenticatedSaslClient
.static SaslRxSocket
RxIo.saslServerSocket
(RxSocket<ByteBuffer> socket, SaslServer saslServer) Returns a reactive socket that adds a SASL QOP server layer to an underlying socket using the provided authenticatedSaslServer
.void
Sets the active socket.static SslRxSocket
RxIo.sslClientSocket
(RxSocket<ByteBuffer> socket, Options options) Returns a reactive socket that adds an SSL client layer to an underlying socket using anSSLEngine
obtained from theCommonLdapOptions.SSL_OPTIONS
of the provided options and the remote host and port of the provided socket.static SslRxSocket
RxIo.sslServerSocket
(RxSocket<ByteBuffer> socket, Options options) Returns a reactive socket that adds an SSL server layer to an underlying socket using anSSLEngine
obtained from theCommonLdapOptions.SSL_OPTIONS
of the provided options.Method parameters in org.forgerock.opendj.io.rx with type arguments of type RxSocketModifier and TypeMethodDescriptionstatic RxTransport<LdapMessage,
LdapSocket> RxIo.ldapTransport
(RxTransport<ByteBuffer, ? extends RxSocket<ByteBuffer>> transport) Returns a reactive transport that adds an LDAP layer to an underlying transport.static RxTransport<ByteBuffer,
SslRxSocket> RxIo.sslTransport
(RxTransport<ByteBuffer, ? extends RxSocket<ByteBuffer>> transport) Returns a reactive transport that adds an SSL layer to an underlying transport.Constructors in org.forgerock.opendj.io.rx with parameters of type RxSocketModifierConstructorDescriptionSwitchableRxSocket
(RxSocket<M> socket) Returns a new switchable socket delegating to the provided downstream socket.protected
TransformedRxSocket
(RxSocket<D> socket) Returns a new transformed socket delegating to the provided downstream socket. -
Uses of RxSocket in org.forgerock.opendj.ldap
Fields in org.forgerock.opendj.ldap with type parameters of type RxSocketModifier and TypeFieldDescriptionLdapServer.ACCEPTED_CLIENT_VALIDATOR
A consumer which is invoked immediately after a new connection has been accepted in order to determine whether the connection should be accepted or not, in which case it will be closed immediately.