| Modifier and Type | Method and Description |
|---|---|
AeronOutbound |
send(org.reactivestreams.Publisher<? extends ByteBuffer> dataStream)
Send data to the peer, listen for any error on write and close on terminal signal
(complete|error).
|
AeronOutbound |
sendString(org.reactivestreams.Publisher<String> dataStream)
Send data to the peer, listen for any error on write and close on terminal signal
(complete|error).
|
default void |
subscribe(org.reactivestreams.Subscriber<? super Void> s)
Subscribe a
Void subscriber to this outbound and trigger all eventual parent outbound
send. |
default reactor.core.publisher.Mono<Void> |
then()
Obtain a
Mono of pending outbound(s) write completion. |
default AeronOutbound |
then(org.reactivestreams.Publisher<Void> other)
Append a
Publisher task such as a Mono and return a new AeronOutbound to
sequence further send. |
AeronOutbound send(org.reactivestreams.Publisher<? extends ByteBuffer> dataStream)
dataStream - the dataStream publishing items to sendAeronOutbound to append further send. It will emit a complete signal upon
successful sequence write or an error during write.AeronOutbound sendString(org.reactivestreams.Publisher<String> dataStream)
dataStream - the dataStream publishing items to sendAeronOutbound to append further send. It will emit a complete signal upon
successful sequence write or an error during write.default reactor.core.publisher.Mono<Void> then()
Mono of pending outbound(s) write completion.Mono of pending outbound(s) write completiondefault AeronOutbound then(org.reactivestreams.Publisher<Void> other)
Publisher task such as a Mono and return a new AeronOutbound to
sequence further send.other - the Publisher to subscribe to when this pending outbound then() is
complete;AeronOutbounddefault void subscribe(org.reactivestreams.Subscriber<? super Void> s)
Void subscriber to this outbound and trigger all eventual parent outbound
send.subscribe in interface org.reactivestreams.Publisher<Void>s - the Subscriber to listen for send sequence completion/failureCopyright © 2015–2019. All rights reserved.