@ChannelHandler.Sharable
public class UptimeClientHandler
extends io.netty.channel.ChannelInboundByteHandlerAdapter
| Constructor and Description |
|---|
UptimeClientHandler(UptimeClient client) |
| Modifier and Type | Method and Description |
|---|---|
void |
channelActive(io.netty.channel.ChannelHandlerContext ctx) |
void |
channelInactive(io.netty.channel.ChannelHandlerContext ctx) |
void |
channelUnregistered(io.netty.channel.ChannelHandlerContext ctx) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
void |
inboundBufferUpdated(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf in) |
void |
userEventTriggered(io.netty.channel.ChannelHandlerContext ctx,
Object evt) |
inboundBufferUpdated, newInboundBufferafterAdd, afterRemove, beforeAdd, beforeRemove, channelRegisteredpublic UptimeClientHandler(UptimeClient client)
public void channelActive(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
channelActive in interface io.netty.channel.ChannelStateHandlerchannelActive in class io.netty.channel.ChannelStateHandlerAdapterExceptionpublic void inboundBufferUpdated(io.netty.channel.ChannelHandlerContext ctx,
io.netty.buffer.ByteBuf in)
throws Exception
inboundBufferUpdated in class io.netty.channel.ChannelInboundByteHandlerAdapterExceptionpublic void userEventTriggered(io.netty.channel.ChannelHandlerContext ctx,
Object evt)
throws Exception
userEventTriggered in interface io.netty.channel.ChannelHandleruserEventTriggered in class io.netty.channel.ChannelStateHandlerAdapterExceptionpublic void channelInactive(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
channelInactive in interface io.netty.channel.ChannelStateHandlerchannelInactive in class io.netty.channel.ChannelStateHandlerAdapterExceptionpublic void channelUnregistered(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
channelUnregistered in interface io.netty.channel.ChannelStateHandlerchannelUnregistered in class io.netty.channel.ChannelStateHandlerAdapterExceptionCopyright © 2008-2012 The Netty Project. All Rights Reserved.