| Modifier and Type | Field and Description |
|---|---|
| pack-priv final IntObjectMap | |
| private final ByteBufAllocator | |
| private final DuplexConnection | |
| private final int | |
| private final int | |
| private final int | |
| private final PayloadDecoder | |
| private final RequestInterceptor | |
| pack-priv final StreamIdSupplier |
| Access | Constructor and Description |
|---|---|
| public | RequesterResponderSupport(int mtu, int maxFrameLength, int maxInboundPayloadSize, PayloadDecoder payloadDecoder, DuplexConnection connection, StreamIdSupplier streamIdSupplier, Function<RSocket, ? extends RequestInterceptor> requestInterceptorFunction)
|
| Modifier and Type | Method and Description |
|---|---|
| public synchronized boolean | |
| public int | Returns: issuedstreamIdto store frameHandler)Adds frameHandler and returns issued |
| public synchronized FrameHandler | |
| public ByteBufAllocator | |
| public DuplexConnection | |
| public int | |
| public int | |
| public int | |
| public int | |
| public PayloadDecoder | |
| public RequesterLeaseTracker | |
| public RequestInterceptor | |
| public synchronized boolean | Returns: true if there is FrameHandler for the given streamId and the
instance equals to the passed oneto lookup for streamId, FrameHandler FrameHandlerinstance to check with the found one frameHandler)Removes |
| activeStreams | back to summary |
|---|---|
| pack-priv final IntObjectMap<FrameHandler> activeStreams | |
| allocator | back to summary |
|---|---|
| private final ByteBufAllocator allocator | |
| connection | back to summary |
|---|---|
| private final DuplexConnection connection | |
| maxFrameLength | back to summary |
|---|---|
| private final int maxFrameLength | |
| maxInboundPayloadSize | back to summary |
|---|---|
| private final int maxInboundPayloadSize | |
| mtu | back to summary |
|---|---|
| private final int mtu | |
| payloadDecoder | back to summary |
|---|---|
| private final PayloadDecoder payloadDecoder | |
| requestInterceptor | back to summary |
|---|---|
| private final RequestInterceptor requestInterceptor
| |
| streamIdSupplier | back to summary |
|---|---|
| pack-priv final StreamIdSupplier streamIdSupplier
| |
| RequesterResponderSupport | back to summary |
|---|---|
| public RequesterResponderSupport(int mtu, int maxFrameLength, int maxInboundPayloadSize, PayloadDecoder payloadDecoder, DuplexConnection connection, StreamIdSupplier streamIdSupplier, Function<RSocket, ? extends RequestInterceptor> requestInterceptorFunction) | |
| add | back to summary |
|---|---|
| public synchronized boolean add(int streamId, FrameHandler frameHandler) | |
| addAndGetNextStreamId | back to summary |
|---|---|
| public int addAndGetNextStreamId(FrameHandler frameHandler) Adds frameHandler and returns issued
| |
| get | back to summary |
|---|---|
| public synchronized FrameHandler get(int streamId) Resolves
| |
| getAllocator | back to summary |
|---|---|
| public ByteBufAllocator getAllocator() | |
| getDuplexConnection | back to summary |
|---|---|
| public DuplexConnection getDuplexConnection() | |
| getMaxFrameLength | back to summary |
|---|---|
| public int getMaxFrameLength() | |
| getMaxInboundPayloadSize | back to summary |
|---|---|
| public int getMaxInboundPayloadSize() | |
| getMtu | back to summary |
|---|---|
| public int getMtu() | |
| getNextStreamId | back to summary |
|---|---|
| public int getNextStreamId() Issues next
| |
| getPayloadDecoder | back to summary |
|---|---|
| public PayloadDecoder getPayloadDecoder() | |
| getRequesterLeaseTracker | back to summary |
|---|---|
public RequesterLeaseTracker getRequesterLeaseTracker()
| |
| getRequestInterceptor | back to summary |
|---|---|
public RequestInterceptor getRequestInterceptor()
| |
| remove | back to summary |
|---|---|
| public synchronized boolean remove(int streamId, FrameHandler frameHandler) Removes
| |