public class ServerRSocketSession extends Object implements RSocketSession, ResumeStateHolder, CoreSubscriber<Long>
Disposable.Composite, Disposable.Swap| Constructor and Description |
|---|
ServerRSocketSession(ByteBuf resumeToken,
DuplexConnection initialDuplexConnection,
ResumableDuplexConnection resumableDuplexConnection,
Duration resumeSessionDuration,
ResumableFramesStore resumableFramesStore,
boolean cleanupStoreOnKeepAlive) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
long |
impliedPosition() |
boolean |
isDisposed() |
void |
onComplete() |
void |
onError(Throwable t) |
void |
onImpliedPosition(long remoteImpliedPos) |
void |
onNext(Long aLong) |
void |
onSubscribe(org.reactivestreams.Subscription s) |
Mono<Void> |
resumeWith(ByteBuf resumeFrame,
DuplexConnection nextDuplexConnection) |
void |
setKeepAliveSupport(KeepAliveSupport keepAliveSupport) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcurrentContextpublic ServerRSocketSession(ByteBuf resumeToken, DuplexConnection initialDuplexConnection, ResumableDuplexConnection resumableDuplexConnection, Duration resumeSessionDuration, ResumableFramesStore resumableFramesStore, boolean cleanupStoreOnKeepAlive)
public Mono<Void> resumeWith(ByteBuf resumeFrame, DuplexConnection nextDuplexConnection)
public long impliedPosition()
impliedPosition in interface ResumeStateHolderpublic void onImpliedPosition(long remoteImpliedPos)
onImpliedPosition in interface ResumeStateHolderpublic void onSubscribe(org.reactivestreams.Subscription s)
onSubscribe in interface org.reactivestreams.Subscriber<Long>onSubscribe in interface CoreSubscriber<Long>public void onNext(Long aLong)
onNext in interface org.reactivestreams.Subscriber<Long>public void onComplete()
onComplete in interface org.reactivestreams.Subscriber<Long>public void onError(Throwable t)
onError in interface org.reactivestreams.Subscriber<Long>public void setKeepAliveSupport(KeepAliveSupport keepAliveSupport)
setKeepAliveSupport in interface RSocketSessionpublic void dispose()
dispose in interface Disposablepublic boolean isDisposed()
isDisposed in interface Disposable