ByteBufs to a RSocketResponder of peer
| Modifier and Type | Field and Description |
|---|---|
| private static final Exception | |
| private final KeepAliveFramesAcceptor | |
| private static final Logger | |
| private final Mono | |
| private final Sinks. | |
| private final RequesterLeaseTracker | |
| private static final AtomicReferenceFieldUpdater | |
| private volatile Throwable |
| Access | Constructor and Description |
|---|---|
| pack-priv | RSocketRequester(DuplexConnection connection, PayloadDecoder payloadDecoder, StreamIdSupplier streamIdSupplier, int mtu, int maxFrameLength, int maxInboundPayloadSize, int keepAliveTickPeriod, int keepAliveAckTimeout, KeepAliveHandler keepAliveHandler, Function<RSocket, RequestInterceptor> requestInterceptorFunction, RequesterLeaseTracker requesterLeaseTracker, Sinks.
|
| Modifier and Type | Method and Description |
|---|---|
| public int | addAndGetNextStreamId(FrameHandler
to store frameHandler)Overrides io. streamId back
|
| public double | |
| public void | dispose()
Overrides default io. |
| public Mono | fireAndForget(Payload
Request payload. payload)Overrides default io. RSocket.
|
| public int | getNextStreamId()
Overrides io. streamId
|
| public RequesterLeaseTracker | |
| private void | |
| private void | |
| private void | |
| private void | |
| public boolean | isDisposed()
Overrides default io. |
| public Mono | metadataPush(Payload
Request payloads. payload)Overrides default io. RSocket.
|
| public Mono | onClose()
Overrides default io. Mono that terminates when the instance is terminated by any reason.
|
| public Flux | requestChannel(Publisher<Payload>
Stream of request payloads. payloads)Overrides default io. RSocket.
|
| public Mono | requestResponse(Payload
Request payload. payload)Overrides default io. RSocket.
|
| public Flux | requestStream(Payload
Request payload. payload)Overrides default io. RSocket.
|
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void |
| CLOSED_CHANNEL_EXCEPTION | back to summary |
|---|---|
| private static final Exception CLOSED_CHANNEL_EXCEPTION | |
| keepAliveFramesAcceptor | back to summary |
|---|---|
| private final KeepAliveFramesAcceptor keepAliveFramesAcceptor | |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| onAllClosed | back to summary |
|---|---|
| private final Mono<Void> onAllClosed | |
| onThisSideClosedSink | back to summary |
|---|---|
| private final Sinks. | |
| requesterLeaseTracker | back to summary |
|---|---|
| private final RequesterLeaseTracker requesterLeaseTracker
| |
| TERMINATION_ERROR | back to summary |
|---|---|
| private static final AtomicReferenceFieldUpdater<RSocketRequester, Throwable> TERMINATION_ERROR | |
| terminationError | back to summary |
|---|---|
| private volatile Throwable terminationError | |
| RSocketRequester | back to summary |
|---|---|
| pack-priv RSocketRequester(DuplexConnection connection, PayloadDecoder payloadDecoder, StreamIdSupplier streamIdSupplier, int mtu, int maxFrameLength, int maxInboundPayloadSize, int keepAliveTickPeriod, int keepAliveAckTimeout, KeepAliveHandler keepAliveHandler, Function<RSocket, RequestInterceptor> requestInterceptorFunction, RequesterLeaseTracker requesterLeaseTracker, Sinks. | |
| addAndGetNextStreamId | back to summary |
|---|---|
| public int addAndGetNextStreamId(FrameHandler frameHandler) Overrides io. Doc from io. Adds frameHandler and returns issued
| |
| availability | back to summary |
|---|---|
| public double availability() Overrides default io.
| |
| dispose | back to summary |
|---|---|
| public void dispose() Overrides default io. Doc from reactor. Cancel or dispose the underlying task or resource. Implementations are required to make this method idempotent.
| |
| fireAndForget | back to summary |
|---|---|
| public Mono Overrides default io. Doc from io. Fire and Forget interaction model of | |
| getNextStreamId | back to summary |
|---|---|
| public int getNextStreamId() Overrides io. Doc from io. Issues next
| |
| getRequesterLeaseTracker | back to summary |
|---|---|
| public RequesterLeaseTracker getRequesterLeaseTracker() Overrides io.
| |
| handleFrame | back to summary |
|---|---|
| private void handleFrame(int streamId, FrameType type, ByteBuf frame) | |
| handleIncomingFrames | back to summary |
|---|---|
| private void handleIncomingFrames(ByteBuf frame) | |
| handleMissingResponseProcessor | back to summary |
|---|---|
private void handleMissingResponseProcessor(int streamId, FrameType type, ByteBuf frame)
| |
| handleStreamZero | back to summary |
|---|---|
| private void handleStreamZero(FrameType type, ByteBuf frame) | |
| isDisposed | back to summary |
|---|---|
| public boolean isDisposed() Overrides default io. 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.
| |
| metadataPush | back to summary |
|---|---|
| public Mono Overrides default io. Doc from io. Metadata-Push interaction model of | |
| onClose | back to summary |
|---|---|
| public Mono Overrides default io. Doc from io. Returns a | |
| requestChannel | back to summary |
|---|---|
| public Flux Overrides default io. Doc from io. Request-Channel interaction model of | |
| requestResponse | back to summary |
|---|---|
| public Mono Overrides default io. Doc from io. Request-Response interaction model of | |
| requestStream | back to summary |
|---|---|
| public Flux Overrides default io. Doc from io. Request-Stream interaction model of | |
| terminate | back to summary |
|---|---|
| private void terminate(Throwable e) | |
| tryShutdown | back to summary |
|---|---|
| private void tryShutdown(Throwable e) | |
| tryShutdown | back to summary |
|---|---|
| private void tryShutdown() | |
| tryTerminate | back to summary |
|---|---|
| private void tryTerminate(Supplier<Throwable> errorSupplier) | |
| tryTerminateOnKeepAlive | back to summary |
|---|---|
| private void tryTerminateOnKeepAlive(KeepAliveSupport. | |
| tryTerminateOnZeroError | back to summary |
|---|---|
| private void tryTerminateOnZeroError(ByteBuf errorFrame) | |