@ChannelHandler.Sharable
public class GelfMessageUdpEncoder
extends io.netty.handler.codec.MessageToMessageEncoder<io.netty.buffer.ByteBuf>
DatagramPackets.| Constructor and Description |
|---|
GelfMessageUdpEncoder(InetSocketAddress remoteAddress)
Creates a new instance of this channel handler with the given
InetSocketAddress of the
remote recipient of the message. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
encode(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf buf,
List<Object> out) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
acceptOutboundMessage, writebind, close, connect, deregister, disconnect, flush, readhandlerAdded, handlerRemoved, isSharablepublic GelfMessageUdpEncoder(InetSocketAddress remoteAddress)
InetSocketAddress of the
remote recipient of the message.remoteAddress - the remote address of the message recipientCopyright © 2016 TORCH. All rights reserved.