public class SyslogCodec
extends io.netty.channel.ChannelDuplexHandler
Note: This filter expects the complete message on the data buffer
Constructor and Description |
---|
SyslogCodec(TimestampParser timestampParser) |
Modifier and Type | Method and Description |
---|---|
void |
channelRead(io.netty.channel.ChannelHandlerContext ctx,
Object msg) |
protected void |
processMessage(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf msg) |
bind, close, connect, deregister, disconnect, flush, read, write
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught, userEventTriggered
handlerAdded, handlerRemoved, isSharable
public SyslogCodec(TimestampParser timestampParser)
public void channelRead(io.netty.channel.ChannelHandlerContext ctx, Object msg) throws Exception
channelRead
in interface io.netty.channel.ChannelInboundHandler
channelRead
in class io.netty.channel.ChannelInboundHandlerAdapter
Exception
protected void processMessage(io.netty.channel.ChannelHandlerContext ctx, io.netty.buffer.ByteBuf msg)
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.