ChannelHandler which adds callbacks for state changes. This allows the user
to hook in to state changes easily.
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | channelInactive(ChannelHandlerContext ctx)
The |
| public void | channelRead(ChannelHandlerContext ctx, Object msg)
Invoked when the current |
| public void | channelReadComplete(ChannelHandlerContext ctx)
Invoked when the last message read by the current read operation has been consumed by
|
| public void | channelRegistered(ChannelHandlerContext ctx)
The |
| public void | channelUnregistered(ChannelHandlerContext ctx)
The |
| public void | channelWritabilityChanged(ChannelHandlerContext ctx)
Gets called once the writable state of a |
| public void | exceptionCaught(ChannelHandlerContext ctx, Throwable cause)
Redeclares io. Throwable was thrown.
|
| public void | userEventTriggered(ChannelHandlerContext ctx, Object evt)
Gets called if an user event was triggered. |
| channelActive | back to summary |
|---|---|
| public void channelActive(ChannelHandlerContext ctx) throws Exception The | |
| channelInactive | back to summary |
|---|---|
| public void channelInactive(ChannelHandlerContext ctx) throws Exception The | |
| channelRead | back to summary |
|---|---|
| public void channelRead(ChannelHandlerContext ctx, Object msg) throws Exception Invoked when the current | |
| channelReadComplete | back to summary |
|---|---|
| public void channelReadComplete(ChannelHandlerContext ctx) throws Exception Invoked when the last message read by the current read operation has been consumed by
| |
| channelRegistered | back to summary |
|---|---|
| public void channelRegistered(ChannelHandlerContext ctx) throws Exception The | |
| channelUnregistered | back to summary |
|---|---|
| public void channelUnregistered(ChannelHandlerContext ctx) throws Exception The | |
| channelWritabilityChanged | back to summary |
|---|---|
| public void channelWritabilityChanged(ChannelHandlerContext ctx) throws Exception Gets called once the writable state of a | |
| exceptionCaught | back to summary |
|---|---|
| public void exceptionCaught(ChannelHandlerContext ctx, Throwable cause) throws Exception Redeclares io. Gets called if a
| |
| userEventTriggered | back to summary |
|---|---|
| public void userEventTriggered(ChannelHandlerContext ctx, Object evt) throws Exception Gets called if an user event was triggered. | |