@ChannelHandler.Sharable public static class PreV5Handlers.ProtocolDecoder extends io.netty.handler.codec.MessageToMessageDecoder<Envelope>
Message.Decoder.decodeMessage(Channel, Envelope)
to be used as a handler in pre-V5 pipelinesModifier and Type | Field and Description |
---|---|
static PreV5Handlers.ProtocolDecoder |
instance |
Modifier and Type | Method and Description |
---|---|
void |
decode(io.netty.channel.ChannelHandlerContext ctx,
Envelope source,
java.util.List results) |
acceptInboundMessage, channelRead
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
public static final PreV5Handlers.ProtocolDecoder instance
Copyright © 2009-2021 The Apache Software Foundation