public interface AeronConnection extends OnDisposable
Configured and established connection makes available operations such as inbound()
for reading and outbound() for writing data. AeronConnection interface comes with OnDisposable and disposeSubscriber() function for convenient resource cleanup.
| Modifier and Type | Interface and Description |
|---|---|
static class |
AeronConnection.ConnectionDisposer |
| Modifier and Type | Method and Description |
|---|---|
default reactor.core.CoreSubscriber<Void> |
disposeSubscriber()
Return a
CoreSubscriber that will dispose on complete or error. |
AeronInbound |
inbound()
Return the
AeronInbound read API from this connection. |
default AeronConnection |
onDispose(reactor.core.Disposable onDispose)
Assign a
Disposable to be invoked when the channel is closed. |
AeronOutbound |
outbound()
Return the
AeronOutbound write API from this connection. |
onDisposeAeronInbound inbound()
AeronInbound read API from this connection. If AeronConnection has
not been configured, receive operations will be unavailable.AeronInbound instanceAeronOutbound outbound()
AeronOutbound write API from this connection. If AeronConnection has
not been configured, send operations will be unavailable.AeronOutbound instancedefault AeronConnection onDispose(reactor.core.Disposable onDispose)
Disposable to be invoked when the channel is closed.onDispose in interface OnDisposableonDispose - the close event handlerthis instancedefault reactor.core.CoreSubscriber<Void> disposeSubscriber()
CoreSubscriber that will dispose on complete or error.CoreSubscriber that will dispose on complete or errorCopyright © 2015–2019. All rights reserved.