Class SctpInboundByteStreamHandler

All Implemented Interfaces:
ChannelHandler, ChannelInboundHandler

public class SctpInboundByteStreamHandler extends MessageToMessageDecoder<SctpMessage>
A ChannelHandler which receives SctpMessages which belong to a application protocol form a specific SCTP Stream and decode it as ByteBuf.
  • Field Details

    • protocolIdentifier

      private final int protocolIdentifier
    • streamIdentifier

      private final int streamIdentifier
  • Constructor Details

    • SctpInboundByteStreamHandler

      public SctpInboundByteStreamHandler(int protocolIdentifier, int streamIdentifier)
      Parameters:
      protocolIdentifier - supported application protocol.
      streamIdentifier - accepted stream number, this should be >=0 or invalid input: '<'= max stream number of the association.
  • Method Details