Class NetherNetFrameDecoder
java.lang.Object
org.cloudburstmc.netty.signalling.admission.NetherNetFrameDecoder
Bounded countdown framing. Unordered traffic must fit one SCTP message.
-
Field Details
-
FRAME_LIMIT
public static final int FRAME_LIMIT- See Also:
-
MESSAGE_LIMIT
public static final int MESSAGE_LIMIT- See Also:
-
-
Constructor Details
-
NetherNetFrameDecoder
public NetherNetFrameDecoder()
-
-
Method Details
-
decode
public io.netty.buffer.ByteBuf decode(io.netty.buffer.ByteBuf frame, boolean reliable) Consumes the frame and returns a completed message, ornullwhile one is still assembling. The returned buffer belongs to the caller. -
clear
public void clear() -
retainedBytes
public int retainedBytes()
-