public class SctpInboundByteStreamHandler extends io.netty.handler.codec.MessageToMessageDecoder<SctpMessage>
SctpMessages which belong to a application protocol form a specific
SCTP Stream and decode it as ByteBuf.| Constructor and Description |
|---|
SctpInboundByteStreamHandler(int protocolIdentifier,
int streamIdentifier) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acceptInboundMessage(Object msg) |
protected boolean |
acceptInboundMessage(SctpMessage msg) |
protected void |
decode(io.netty.channel.ChannelHandlerContext ctx,
SctpMessage msg,
List<Object> out) |
channelRead, channelReadCompletechannelActive, channelInactive, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic SctpInboundByteStreamHandler(int protocolIdentifier,
int streamIdentifier)
streamIdentifier - accepted stream number, this should be >=0 or <= max stream number of the association.protocolIdentifier - supported application protocol.public final boolean acceptInboundMessage(Object msg) throws Exception
acceptInboundMessage in class io.netty.handler.codec.MessageToMessageDecoder<SctpMessage>Exceptionprotected boolean acceptInboundMessage(SctpMessage msg)
protected void decode(io.netty.channel.ChannelHandlerContext ctx,
SctpMessage msg,
List<Object> out)
throws Exception
decode in class io.netty.handler.codec.MessageToMessageDecoder<SctpMessage>ExceptionCopyright © 2008–2025 The Netty Project. All rights reserved.