Top Fields Constructors Methods
io.rsocket.core

pack-priv Class ReassemblyUtils

extends Object
Class Inheritance
Static Imports
io.rsocket.core.FragmentationUtils.MIN_MTU_SIZE, .StateUtils.isReassembling, .StateUtils.isTerminated, .StateUtils.markReassembled, .StateUtils.markReassembling, io.rsocket.frame.FrameLengthCodec.FRAME_LENGTH_MASK

Field Summary

Modifier and TypeField and Description
pack-priv static final String

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv static CompositeByteBuf
addFollowingFrame(CompositeByteBuf frames, ByteBuf followingFrame, boolean hasFollows, int maxInboundPayloadSize)

pack-priv static int
assertInboundPayloadSize(int inboundPayloadSize)

private static int
decodeLength(final ByteBuf byteBuf)

private static void
encodeLength(final ByteBuf byteBuf, final int length)

pack-priv static <T extends RequesterFrameHandler> void
handleNextSupport(AtomicLongFieldUpdater<T> updater, T instance, Subscription subscription, CoreSubscriber<? super Payload> inboundSubscriber, PayloadDecoder payloadDecoder, ByteBufAllocator allocator, int maxInboundPayloadSize, ByteBuf frame, boolean hasFollows, boolean isLastPayload)

pack-priv static void
release(RequesterFrameHandler framesHolder, long state)

pack-priv static void
synchronizedRelease(RequesterFrameHandler framesHolder, long state)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

ILLEGAL_REASSEMBLED_PAYLOAD_SIZEback to summary
pack-priv static final String ILLEGAL_REASSEMBLED_PAYLOAD_SIZE

Constructor Detail

ReassemblyUtilsback to summary
pack-priv ReassemblyUtils()

Method Detail

addFollowingFrameback to summary
pack-priv static CompositeByteBuf addFollowingFrame(CompositeByteBuf frames, ByteBuf followingFrame, boolean hasFollows, int maxInboundPayloadSize)
assertInboundPayloadSizeback to summary
pack-priv static int assertInboundPayloadSize(int inboundPayloadSize)
decodeLengthback to summary
private static int decodeLength(final ByteBuf byteBuf)
encodeLengthback to summary
private static void encodeLength(final ByteBuf byteBuf, final int length)
handleNextSupportback to summary
pack-priv static <T extends RequesterFrameHandler> void handleNextSupport(AtomicLongFieldUpdater<T> updater, T instance, Subscription subscription, CoreSubscriber<? super Payload> inboundSubscriber, PayloadDecoder payloadDecoder, ByteBufAllocator allocator, int maxInboundPayloadSize, ByteBuf frame, boolean hasFollows, boolean isLastPayload)
releaseback to summary
pack-priv static void release(RequesterFrameHandler framesHolder, long state)
Annotations
@SuppressWarnings:ConstantConditions
synchronizedReleaseback to summary
pack-priv static void synchronizedRelease(RequesterFrameHandler framesHolder, long state)
Annotations
@SuppressWarnings:ConstantConditions, SynchronizationOnLocalVariableOrMethodParameter