public class ClientRSocketSession extends Object implements RSocketSession<Mono<? extends ResumePositionsConnection>>
Disposable.Composite, Disposable.Swap| Constructor and Description |
|---|
ClientRSocketSession(ResumePositionsConnection duplexConnection,
ByteBufAllocator allocator,
Duration resumeSessionDuration,
Supplier<ResumeStrategy> resumeStrategy,
ResumableFramesStore resumableFramesStore,
Duration resumeStreamTimeout,
boolean cleanupStoreOnKeepAlive) |
| Modifier and Type | Method and Description |
|---|---|
ClientRSocketSession |
continueWith(Mono<? extends ResumePositionsConnection> newConnection) |
void |
reconnect(ResumePositionsConnection connection) |
DuplexConnection |
resumableConnection() |
ClientRSocketSession |
resumeToken(ByteBuf resumeToken) |
ClientRSocketSession |
resumeWith(ByteBuf resumeOkFrame) |
ByteBuf |
token() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdispose, isDisposed, onClosepublic ClientRSocketSession(ResumePositionsConnection duplexConnection, ByteBufAllocator allocator, Duration resumeSessionDuration, Supplier<ResumeStrategy> resumeStrategy, ResumableFramesStore resumableFramesStore, Duration resumeStreamTimeout, boolean cleanupStoreOnKeepAlive)
public ClientRSocketSession continueWith(Mono<? extends ResumePositionsConnection> newConnection)
continueWith in interface RSocketSession<Mono<? extends ResumePositionsConnection>>public ClientRSocketSession resumeWith(ByteBuf resumeOkFrame)
resumeWith in interface RSocketSession<Mono<? extends ResumePositionsConnection>>public ClientRSocketSession resumeToken(ByteBuf resumeToken)
public void reconnect(ResumePositionsConnection connection)
reconnect in interface RSocketSession<Mono<? extends ResumePositionsConnection>>public DuplexConnection resumableConnection()
resumableConnection in interface RSocketSession<Mono<? extends ResumePositionsConnection>>public ByteBuf token()
token in interface RSocketSession<Mono<? extends ResumePositionsConnection>>