ByteBufs from a peer's RSocketRequester
| Modifier and Type | Field and Description |
|---|---|
| private static final Exception | |
| private final ResponderLeaseTracker | |
| private static final Logger | |
| private final Sinks. | |
| private final RSocket | |
| private static final AtomicReferenceFieldUpdater | |
| private volatile Throwable |
| Access | Constructor and Description |
|---|---|
| pack-priv | RSocketResponder(DuplexConnection connection, RSocket requestHandler, PayloadDecoder payloadDecoder, ResponderLeaseTracker leaseHandler, int mtu, int maxFrameLength, int maxInboundPayloadSize, Function<RSocket, ? extends RequestInterceptor> requestInterceptorFunction, Sinks.
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | add(int streamId, FrameHandler frameHandler)
|
| private void | |
| public void | dispose()
Overrides default io. |
| pack-priv final void | |
| public Mono | fireAndForget(Payload
Request payload. payload)Overrides default io. RSocket.
|
| pack-priv final void | |
| pack-priv final void | |
| pack-priv final void | |
| private void | |
| pack-priv final void | |
| pack-priv final 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 |
| CLOSED_CHANNEL_EXCEPTION | back to summary |
|---|---|
| private static final Exception CLOSED_CHANNEL_EXCEPTION | |
| leaseHandler | back to summary |
|---|---|
| private final ResponderLeaseTracker leaseHandler
| |
| LOGGER | back to summary |
|---|---|
| private static final Logger LOGGER | |
| onThisSideClosedSink | back to summary |
|---|---|
| private final Sinks. | |
| requestHandler | back to summary |
|---|---|
| private final RSocket requestHandler | |
| TERMINATION_ERROR | back to summary |
|---|---|
| private static final AtomicReferenceFieldUpdater<RSocketResponder, Throwable> TERMINATION_ERROR | |
| terminationError | back to summary |
|---|---|
| private volatile Throwable terminationError | |
| RSocketResponder | back to summary |
|---|---|
| pack-priv RSocketResponder(DuplexConnection connection, RSocket requestHandler, PayloadDecoder payloadDecoder, ResponderLeaseTracker leaseHandler, int mtu, int maxFrameLength, int maxInboundPayloadSize, Function<RSocket, ? extends RequestInterceptor> requestInterceptorFunction, Sinks. | |
| add | back to summary |
|---|---|
| public boolean add(int streamId, FrameHandler frameHandler) Overrides io.
| |
| cleanUpSendingSubscriptions | back to summary |
|---|---|
| private void cleanUpSendingSubscriptions() | |
| 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.
| |
| doOnDispose | back to summary |
|---|---|
| pack-priv final void doOnDispose() | |
| fireAndForget | back to summary |
|---|---|
| public Mono Overrides default io. Doc from io. Fire and Forget interaction model of | |
| handleChannel | back to summary |
|---|---|
| pack-priv final void handleChannel(int streamId, ByteBuf frame, long initialRequestN, boolean complete) | |
| handleFireAndForget | back to summary |
|---|---|
| pack-priv final void handleFireAndForget(int streamId, ByteBuf frame) | |
| handleFrame | back to summary |
|---|---|
| pack-priv final void handleFrame(ByteBuf frame) | |
| handleMetadataPush | back to summary |
|---|---|
| private void handleMetadataPush(Mono<Void> result) | |
| handleRequestResponse | back to summary |
|---|---|
| pack-priv final void handleRequestResponse(int streamId, ByteBuf frame) | |
| handleStream | back to summary |
|---|---|
| pack-priv final void handleStream(int streamId, ByteBuf frame, long initialRequestN) | |
| 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 | |
| sendLeaseRejection | back to summary |
|---|---|
| private void sendLeaseRejection(int streamId, Throwable leaseError) | |
| tryTerminate | back to summary |
|---|---|
| private void tryTerminate(Supplier<Throwable> errorSupplier) | |
| tryTerminateOnConnectionClose | back to summary |
|---|---|
| private void tryTerminateOnConnectionClose() | |
| tryTerminateOnConnectionError | back to summary |
|---|---|
| private void tryTerminateOnConnectionError(Throwable e) | |