public class FactorialClientHandler extends io.netty.channel.ChannelInboundMessageHandlerAdapter<BigInteger>
| Constructor and Description |
|---|
FactorialClientHandler(int count) |
| Modifier and Type | Method and Description |
|---|---|
void |
channelActive(io.netty.channel.ChannelHandlerContext ctx) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause) |
BigInteger |
getFactorial() |
void |
messageReceived(io.netty.channel.ChannelHandlerContext ctx,
BigInteger msg) |
acceptInboundMessage, beginMessageReceived, endMessageReceived, freeInboundBuffer, inboundBufferUpdated, newInboundBufferchannelInactive, channelReadSuspended, channelRegistered, channelUnregisteredafterAdd, afterRemove, beforeAdd, beforeRemove, userEventTriggeredclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic BigInteger getFactorial()
public void channelActive(io.netty.channel.ChannelHandlerContext ctx)
channelActive in interface io.netty.channel.ChannelStateHandlerchannelActive in class io.netty.channel.ChannelStateHandlerAdapterpublic void messageReceived(io.netty.channel.ChannelHandlerContext ctx,
BigInteger msg)
messageReceived in class io.netty.channel.ChannelInboundMessageHandlerAdapter<BigInteger>Copyright © 2008-2013 The Netty Project. All Rights Reserved.