public final class DefaultAeronInbound extends Object implements AeronInbound, OnDisposable
| Constructor and Description |
|---|
DefaultAeronInbound(String name,
AeronResources resources) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
boolean |
isDisposed() |
reactor.core.publisher.Mono<Void> |
onDispose()
Assign a
Disposable to be invoked when the this has been disposed. |
ByteBufferFlux |
receive() |
reactor.core.publisher.Mono<Void> |
start(String channel,
int streamId,
long sessionId,
Runnable onCompleteHandler)
Starts inbound.
|
public DefaultAeronInbound(String name, AeronResources resources)
public reactor.core.publisher.Mono<Void> start(String channel, int streamId, long sessionId, Runnable onCompleteHandler)
channel - server or client channel uristreamId - stream idsessionId - session idonCompleteHandler - callback which will be invoked when this finishespublic ByteBufferFlux receive()
receive in interface AeronInboundpublic void dispose()
dispose in interface reactor.core.Disposablepublic reactor.core.publisher.Mono<Void> onDispose()
OnDisposableDisposable to be invoked when the this has been disposed.onDispose in interface OnDisposablepublic boolean isDisposed()
isDisposed in interface reactor.core.DisposableCopyright © 2015–2018. All rights reserved.