@ChannelHandler.Sharable public class DatagramPacketObjectEncoder extends io.netty.handler.codec.MessageToMessageEncoder<io.netty.channel.AddressedEnvelope<Object,InetSocketAddress>>
Constructor and Description |
---|
DatagramPacketObjectEncoder() |
Modifier and Type | Method and Description |
---|---|
protected void |
encode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.channel.AddressedEnvelope<Object,InetSocketAddress> msg,
List<Object> out) |
acceptOutboundMessage, write
bind, close, connect, deregister, disconnect, flush, read
exceptionCaught, handlerAdded, handlerRemoved, isSharable
protected void encode(io.netty.channel.ChannelHandlerContext ctx, io.netty.channel.AddressedEnvelope<Object,InetSocketAddress> msg, List<Object> out) throws Exception
encode
in class io.netty.handler.codec.MessageToMessageEncoder<io.netty.channel.AddressedEnvelope<Object,InetSocketAddress>>
Exception
Apache Camel