public class FactorialClientHandler extends io.netty.channel.SimpleChannelInboundHandler<BigInteger>
| Constructor and Description |
|---|
FactorialClientHandler() |
| 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, channelReadpublic BigInteger getFactorial()
public void channelActive(io.netty.channel.ChannelHandlerContext ctx)
channelActive in interface io.netty.channel.ChannelHandlerchannelActive in class io.netty.channel.ChannelHandlerAdapterpublic void messageReceived(io.netty.channel.ChannelHandlerContext ctx,
BigInteger msg)
messageReceived in class io.netty.channel.SimpleChannelInboundHandler<BigInteger>public void exceptionCaught(io.netty.channel.ChannelHandlerContext ctx,
Throwable cause)
exceptionCaught in interface io.netty.channel.ChannelHandlerexceptionCaught in class io.netty.channel.ChannelHandlerAdapterCopyright © 2008–2015 The Netty Project. All rights reserved.