public class SctpMessageCompletionHandler extends io.netty.handler.codec.MessageToMessageDecoder<SctpMessage>
MessageToMessageDecoder
which will take care of handle fragmented SctpMessage
s, so
only complete SctpMessage
s will be forwarded to the next
ChannelInboundHandler
.Constructor and Description |
---|
SctpMessageCompletionHandler() |
Modifier and Type | Method and Description |
---|---|
protected void |
decode(io.netty.channel.ChannelHandlerContext ctx,
SctpMessage msg,
List<Object> out) |
void |
handlerRemoved(io.netty.channel.ChannelHandlerContext ctx) |
acceptInboundMessage, channelRead
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
ensureNotSharable, handlerAdded, isSharable
protected void decode(io.netty.channel.ChannelHandlerContext ctx, SctpMessage msg, List<Object> out) throws Exception
decode
in class io.netty.handler.codec.MessageToMessageDecoder<SctpMessage>
Exception
Copyright © 2008–2021 The Netty Project. All rights reserved.