public interface RSocketSession<T> extends Closeable
Disposable.Composite, Disposable.Swap| Modifier and Type | Method and Description |
|---|---|
RSocketSession |
continueWith(T ConnectionFactory) |
default void |
dispose() |
default boolean |
isDisposed() |
default Mono<Void> |
onClose()
Returns a
Mono that terminates when the instance is terminated by any reason. |
void |
reconnect(DuplexConnection connection) |
ResumableDuplexConnection |
resumableConnection() |
RSocketSession |
resumeWith(ByteBuf resumeFrame) |
ByteBuf |
token() |
ByteBuf token()
ResumableDuplexConnection resumableConnection()
RSocketSession continueWith(T ConnectionFactory)
RSocketSession resumeWith(ByteBuf resumeFrame)
void reconnect(DuplexConnection connection)
default Mono<Void> onClose()
CloseableMono that terminates when the instance is terminated by any reason. Note, in
case of error termination, the cause of error will be propagated as an error signal through
Subscriber.onError(Throwable). Otherwise, Subscriber.onComplete() will be called.default void dispose()
dispose in interface Disposabledefault boolean isDisposed()
isDisposed in interface Disposable