Class FactorialClientHandler

java.lang.Object
org.jboss.netty.channel.SimpleChannelUpstreamHandler
org.jboss.netty.example.factorial.FactorialClientHandler
All Implemented Interfaces:
ChannelHandler, ChannelUpstreamHandler

public class FactorialClientHandler extends SimpleChannelUpstreamHandler
Handler for a client-side channel. This handler maintains stateful information which is specific to a certain channel using member variables. Therefore, an instance of this handler can cover only one channel. You have to create a new handler instance whenever you create a new channel and insert this handler to avoid a race condition.