public interface Connection extends OnDisposable
| Modifier and Type | Method and Description |
|---|---|
default <T extends Connection> |
as(Class<T> clazz)
Return an existing
Connection that must match the given type wrapper or null. |
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 Connection |
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. |
onDisposedefault <T extends Connection> T as(Class<T> clazz)
Connection that must match the given type wrapper or null.clazz - connection type to match toConnection reference or nullAeronInbound inbound()
AeronInbound read API from this connection. If Connection has not
been configured with a supporting bridge, receive operations will be unavailable.AeronInbound read API from this connection.AeronOutbound outbound()
AeronOutbound write API from this connection. If Connection has not
been configured with a supporting bridge, send operations will be unavailable.AeronOutbound read API from this connection.default Connection onDispose(reactor.core.Disposable onDispose)
Disposable to be invoked when the channel is closed.onDispose - the close event handlerdefault reactor.core.CoreSubscriber<Void> disposeSubscriber()
CoreSubscriber that will dispose on complete or error.CoreSubscriber that will dispose on complete or errorCopyright © 2015–2018. All rights reserved.