public class PlayerHandler
extends org.jboss.netty.channel.SimpleChannelUpstreamHandler
ClientFSM
.
INTERNAL API.
Constructor and Description |
---|
PlayerHandler(java.net.InetSocketAddress server,
int reconnects,
scala.concurrent.duration.FiniteDuration backoff,
int poolSize,
ActorRef fsm,
LoggingAdapter log,
Scheduler scheduler,
scala.concurrent.ExecutionContext executor) |
Modifier and Type | Method and Description |
---|---|
void |
channelBound(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent event) |
void |
channelClosed(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent event) |
void |
channelConnected(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent event) |
void |
channelDisconnected(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent event) |
void |
channelOpen(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent event) |
void |
channelUnbound(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent event) |
void |
exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent event) |
void |
messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent event) |
scala.concurrent.duration.Deadline |
nextAttempt() |
void |
writeComplete(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.WriteCompletionEvent event) |
public PlayerHandler(java.net.InetSocketAddress server, int reconnects, scala.concurrent.duration.FiniteDuration backoff, int poolSize, ActorRef fsm, LoggingAdapter log, Scheduler scheduler, scala.concurrent.ExecutionContext executor)
public scala.concurrent.duration.Deadline nextAttempt()
public void channelOpen(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent event)
channelOpen
in class org.jboss.netty.channel.SimpleChannelUpstreamHandler
public void channelClosed(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent event)
channelClosed
in class org.jboss.netty.channel.SimpleChannelUpstreamHandler
public void channelBound(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent event)
channelBound
in class org.jboss.netty.channel.SimpleChannelUpstreamHandler
public void channelUnbound(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent event)
channelUnbound
in class org.jboss.netty.channel.SimpleChannelUpstreamHandler
public void writeComplete(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.WriteCompletionEvent event)
writeComplete
in class org.jboss.netty.channel.SimpleChannelUpstreamHandler
public void exceptionCaught(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ExceptionEvent event)
exceptionCaught
in class org.jboss.netty.channel.SimpleChannelUpstreamHandler
public void channelConnected(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent event)
channelConnected
in class org.jboss.netty.channel.SimpleChannelUpstreamHandler
public void channelDisconnected(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent event)
channelDisconnected
in class org.jboss.netty.channel.SimpleChannelUpstreamHandler
public void messageReceived(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.MessageEvent event)
messageReceived
in class org.jboss.netty.channel.SimpleChannelUpstreamHandler