Uses of Interface
dev.getelements.elements.rt.AsyncConnection
Packages that use AsyncConnection
Package
Description
-
Uses of AsyncConnection in dev.getelements.elements.rt
Methods in dev.getelements.elements.rt that return AsyncConnectionModifier and TypeMethodDescriptionAsyncConnectionGroup.get
(int index) Gets theAsyncConnection
at the provided index.Method parameters in dev.getelements.elements.rt with type arguments of type AsyncConnectionModifier and TypeMethodDescriptionvoid
AsyncConnectionPool.acquireNextAvailableConnection
(Consumer<AsyncConnection<ContextT, SocketT>> asyncConnectionConsumer) Acquires a newAsyncConnection
.AsyncConnectionGroup.Builder.connection
(Function<ContextT, BuilderSocketT> socketSupplier, Consumer<AsyncConnection<ContextT, BuilderSocketT>> asyncConnectionConsumer) Adds aAsyncConnection
with the supplied creation and consumer function.AsyncConnection.onClose
(Consumer<AsyncConnection<ContextT, SocketT>> asyncConnectionConsumer) Registers aSubscription
for when the underlying connection was closed.AsyncConnection.onError
(Consumer<AsyncConnection<ContextT, SocketT>> asyncConnectionConsumer) Registers aSubscription
for when a socket has encountered an error.AsyncConnection.onRead
(Consumer<AsyncConnection<ContextT, SocketT>> asyncConnectionConsumer) Registers aSubscription
for when a socket has read data.AsyncConnection.onRecycle
(Consumer<AsyncConnection<ContextT, SocketT>> pooledAsyncConnectionConsumer) Subscribes to an event indicating that the connection was recycled.AsyncConnection.onWrite
(Consumer<AsyncConnection<ContextT, SocketT>> asyncConnectionConsumer) Registers aSubscription
for when a socket is ready to write data.void
AsyncConnection.signal
(Consumer<AsyncConnection<ContextT, SocketT>> asyncConnectionConsumer) Sends a signal to thisAsyncConnection
.default <T> CompletionStage
<T> AsyncConnection.signalAndComputeCompletion
(Function<AsyncConnection<ContextT, SocketT>, T> asyncConnectionConsumer) Computes a value on the connection's IO Thread.default CompletionStage
<Void> AsyncConnection.signalAndComputeCompletionV
(Consumer<AsyncConnection<ContextT, SocketT>> asyncConnectionConsumer) Computes a value on the connection's IO Thread. -
Uses of AsyncConnection in dev.getelements.elements.rt.jeromq
Methods in dev.getelements.elements.rt.jeromq that return AsyncConnectionModifier and TypeMethodDescriptionAsyncConnection
<org.zeromq.ZContext, org.zeromq.ZMQ.Socket> JeroMQAsyncConnectionGroup.get
(int index) Constructor parameters in dev.getelements.elements.rt.jeromq with type arguments of type AsyncConnectionModifierConstructorDescriptionJeroMQAsyncConnectionGroup
(List<AsyncConnection<org.zeromq.ZContext, org.zeromq.ZMQ.Socket>> connectionList, BiConsumer<AsyncConnectionGroup<org.zeromq.ZContext, org.zeromq.ZMQ.Socket>, Consumer<AsyncConnectionGroup<org.zeromq.ZContext, org.zeromq.ZMQ.Socket>>> signalHandler) -
Uses of AsyncConnection in dev.getelements.elements.rt.remote.jeromq
Methods in dev.getelements.elements.rt.remote.jeromq with parameters of type AsyncConnectionModifier and TypeMethodDescriptionJeroMQAsyncOperation.acquire
(AsyncConnection<org.zeromq.ZContext, org.zeromq.ZMQ.Socket> connection) Called when the connection is acquired.Constructors in dev.getelements.elements.rt.remote.jeromq with parameters of type AsyncConnectionModifierConstructorDescriptionJeroMQRemoteInvocation
(JeroMQAsyncOperation asyncOperation, AsyncConnection<org.zeromq.ZContext, org.zeromq.ZMQ.Socket> connection, Invocation invocation, PayloadReader payloadReader, PayloadWriter payloadWriter, Map<String, String> mdcContext, Consumer<Object> syncResultConsumer, Consumer<Throwable> syncErrorConsumer, List<Consumer<InvocationResult>> asyncInvocationResultConsumerList, InvocationErrorConsumer asyncInvocationErrorConsumer)