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