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 TypeInterfaceDescriptioninterfaceRxServerSocket<M,S extends RxSocket<M>> A reactive server socket listens for incoming connections and binds them to aRxSocket.interfaceRxTransport<M,S extends RxSocket<M>> Subinterfaces of RxSocket in org.forgerock.opendj.ioModifier and TypeInterfaceDescriptioninterfaceA 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 classA reactive socket which adds SASL QOP to an underlying reactive socket..final classA reactive socket implementation which adds SSL to an underlying reactive socket.final classA reactive socket implementation which delegates to a replaceable delegate reactive socket.classTransformedRxSocket<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.socketThe 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 ornullotherwise.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 typeDto 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 typeDto 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 LdapSocketRxIo.ldapClientSocket(RxSocket<ByteBuffer> socket, Options options) Returns a reactive socket that adds an LDAP client layer to an underlying socket.static LdapSocketRxIo.ldapServerSocket(RxSocket<ByteBuffer> socket, Options options) Returns a reactive socket that adds an LDAP server layer to an underlying socket.voidSwitchableRxSocket.resumeReadsAfterSwitchingSocket(RxSocket<M> newSocket) Replaces the active socket with a new socket and then resumes reading.static SaslRxSocketRxIo.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 SaslRxSocketRxIo.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.voidSets the active socket.static SslRxSocketRxIo.sslClientSocket(RxSocket<ByteBuffer> socket, Options options) Returns a reactive socket that adds an SSL client layer to an underlying socket using anSSLEngineobtained from theCommonLdapOptions.SSL_OPTIONSof the provided options and the remote host and port of the provided socket.static SslRxSocketRxIo.sslServerSocket(RxSocket<ByteBuffer> socket, Options options) Returns a reactive socket that adds an SSL server layer to an underlying socket using anSSLEngineobtained from theCommonLdapOptions.SSL_OPTIONSof 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.protectedTransformedRxSocket(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_VALIDATORA 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.