| Modifier and Type | Field and Description |
|---|---|
| pack-priv final ByteBufAllocator | |
| pack-priv final boolean | |
| pack-priv final Mono | |
| pack-priv KeepAliveSupport | |
| private static final Logger | |
| pack-priv final Disposable | |
| pack-priv final ResumableDuplexConnection | |
| pack-priv final ResumableFramesStore | |
| pack-priv final Duration | |
| pack-priv final ByteBuf | |
| pack-priv final Retry | |
| pack-priv volatile Subscription | |
| pack-priv static final AtomicReferenceFieldUpdater | |
| pack-priv final String |
| Access | Constructor and Description |
|---|---|
| public | ClientRSocketSession(ByteBuf resumeToken, ResumableDuplexConnection resumableDuplexConnection, Mono<DuplexConnection> connectionFactory, Function<DuplexConnection, Mono<Tuple2<ByteBuf, DuplexConnection>>> connectionTransformer, ResumableFramesStore resumableFramesStore, Duration resumeSessionDuration, Retry retry, boolean cleanupStoreOnKeepAlive)
|
| Modifier and Type | Method and Description |
|---|---|
| public void | dispose()
Implements reactor. |
| public long | |
| public boolean | isDisposed()
Overrides default reactor. |
| public void | |
| public void | onError(Throwable
the throwable signaled t)Implements org. |
| public void | onImpliedPosition(long remoteImpliedPos)
Implements io. |
| public void | onNext(Tuple2<ByteBuf, DuplexConnection>
the element signaled objects)Implements org. Publisher in response to requests to Subscription#request(long).
|
| public void | onSubscribe(Subscription
the s)Subscription that allows requesting data via Subscription#request(long)Implements reactor. onNext(Object) before
calling Subscription#request(long).
|
| pack-priv void | |
| public void | setKeepAliveSupport(KeepAliveSupport keepAliveSupport)
Implements io. |
| pack-priv boolean | |
| pack-priv void |
| allocator | back to summary |
|---|---|
| pack-priv final ByteBufAllocator allocator | |
| cleanupStoreOnKeepAlive | back to summary |
|---|---|
| pack-priv final boolean cleanupStoreOnKeepAlive | |
| connectionFactory | back to summary |
|---|---|
| pack-priv final Mono<Tuple2<ByteBuf, DuplexConnection>> connectionFactory | |
| keepAliveSupport | back to summary |
|---|---|
| pack-priv KeepAliveSupport keepAliveSupport | |
| logger | back to summary |
|---|---|
| private static final Logger logger | |
| reconnectDisposable | back to summary |
|---|---|
| pack-priv final Disposable reconnectDisposable | |
| resumableConnection | back to summary |
|---|---|
| pack-priv final ResumableDuplexConnection resumableConnection | |
| resumableFramesStore | back to summary |
|---|---|
| pack-priv final ResumableFramesStore resumableFramesStore | |
| resumeSessionDuration | back to summary |
|---|---|
| pack-priv final Duration resumeSessionDuration | |
| resumeToken | back to summary |
|---|---|
| pack-priv final ByteBuf resumeToken | |
| retry | back to summary |
|---|---|
| pack-priv final Retry retry | |
| s | back to summary |
|---|---|
| pack-priv volatile Subscription s | |
| S | back to summary |
|---|---|
| pack-priv static final AtomicReferenceFieldUpdater<ClientRSocketSession, Subscription> S | |
| session | back to summary |
|---|---|
| pack-priv final String session | |
| ClientRSocketSession | back to summary |
|---|---|
| public ClientRSocketSession(ByteBuf resumeToken, ResumableDuplexConnection resumableDuplexConnection, Mono<DuplexConnection> connectionFactory, Function<DuplexConnection, Mono<Tuple2<ByteBuf, DuplexConnection>>> connectionTransformer, ResumableFramesStore resumableFramesStore, Duration resumeSessionDuration, Retry retry, boolean cleanupStoreOnKeepAlive) | |
| dispose | back to summary |
|---|---|
| public void dispose() Implements reactor. Doc from reactor. Cancel or dispose the underlying task or resource. Implementations are required to make this method idempotent.
| |
| impliedPosition | back to summary |
|---|---|
| public long impliedPosition() Implements io.
| |
| isDisposed | back to summary |
|---|---|
| public boolean isDisposed() Overrides default reactor. Doc from reactor. Optionally return true when the resource or task is disposed. Implementations are not required to track disposition and as such may never return true even when disposed. However, they MUST only return true when there's a guarantee the resource or task is disposed.
| |
| onComplete | back to summary |
|---|---|
| public void onComplete() Implements org. Doc from org. Successful terminal state.
No further events will be sent even if
| |
| onError | back to summary |
|---|---|
| public void onError(Throwable t) Implements org. Doc from org. Failed terminal state.
No further events will be sent even if | |
| onImpliedPosition | back to summary |
|---|---|
| public void onImpliedPosition(long remoteImpliedPos) Implements io.
| |
| onNext | back to summary |
|---|---|
| public void onNext(Tuple2<ByteBuf, DuplexConnection> objects) Implements org. Doc from org. Data notification sent by the
| |
| onSubscribe | back to summary |
|---|---|
| public void onSubscribe(Subscription s) Implements reactor. Doc from reactor. Implementors should initialize any state used by
Note that an invalid request
No data will start flowing until
It is the responsibility of this
The
| |
| reconnect | back to summary |
|---|---|
| pack-priv void reconnect(int index) | |
| setKeepAliveSupport | back to summary |
|---|---|
| public void setKeepAliveSupport(KeepAliveSupport keepAliveSupport) Implements io. | |
| tryCancelSessionTimeout | back to summary |
|---|---|
| pack-priv boolean tryCancelSessionTimeout() | |
| tryReestablishSession | back to summary |
|---|---|
| pack-priv void tryReestablishSession(Tuple2<ByteBuf, DuplexConnection> tuple2) | |