@ChannelHandler.Sharable
public class ProtocolDecoderHandler
extends io.netty.handler.codec.MessageToMessageDecoder<byte[]>
| 构造器和说明 |
|---|
ProtocolDecoderHandler(ProtocolDecoderService protocolDecoderService) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
decode(io.netty.channel.ChannelHandlerContext ctx,
byte[] msg,
List<Object> out) |
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharablepublic ProtocolDecoderHandler(ProtocolDecoderService protocolDecoderService)
Copyright © 2018. All rights reserved.