org.sdnplatform.sync.internal.remote
Class RSHandshakeTimeoutHandler
java.lang.Object
org.jboss.netty.channel.SimpleChannelUpstreamHandler
org.sdnplatform.sync.internal.remote.RSHandshakeTimeoutHandler
- All Implemented Interfaces:
- org.jboss.netty.channel.ChannelHandler, org.jboss.netty.channel.ChannelUpstreamHandler
public class RSHandshakeTimeoutHandler
- extends org.jboss.netty.channel.SimpleChannelUpstreamHandler
Trigger a timeout if the bootstrap process stalls
Nested classes/interfaces inherited from interface org.jboss.netty.channel.ChannelHandler |
org.jboss.netty.channel.ChannelHandler.Sharable |
Method Summary |
void |
channelClosed(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e)
|
void |
channelOpen(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e)
|
Methods inherited from class org.jboss.netty.channel.SimpleChannelUpstreamHandler |
channelBound, channelConnected, channelDisconnected, channelInterestChanged, channelUnbound, childChannelClosed, childChannelOpen, exceptionCaught, handleUpstream, messageReceived, writeComplete |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RSHandshakeTimeoutHandler
public RSHandshakeTimeoutHandler(RemoteSyncChannelHandler channelHandler,
org.jboss.netty.util.Timer timer,
long timeoutSeconds)
channelOpen
public void channelOpen(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e)
throws java.lang.Exception
- Overrides:
channelOpen
in class org.jboss.netty.channel.SimpleChannelUpstreamHandler
- Throws:
java.lang.Exception
channelClosed
public void channelClosed(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e)
throws java.lang.Exception
- Overrides:
channelClosed
in class org.jboss.netty.channel.SimpleChannelUpstreamHandler
- Throws:
java.lang.Exception