public class SourceQueryPacketDecoder
extends io.netty.handler.codec.MessageToMessageDecoder<io.netty.buffer.ByteBuf>
ByteBuf) into an instance of SourceQueryPacket.
The packet can be a single-type or a split-type. Split-type packets should be re-assembled back to a single-type packet by the next handlers
Simple workflow of data:
INCOMING DATA ----> DECODE TO PACKET ----> ASSEMBLE/PROCESS PACKET(s) ---> CREATE RESPONSE
| Constructor and Description |
|---|
SourceQueryPacketDecoder() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
decode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf msg,
List<Object> out) |
acceptInboundMessage, channelReadchannelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggeredensureNotSharable, handlerAdded, handlerRemoved, isSharableCopyright © 2016–2024. All rights reserved.