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