public abstract class ClientHandler extends org.jboss.netty.channel.SimpleChannelHandler implements NettyClientHelpers, CommonHandlers
Constructor and Description |
---|
ClientHandler(NettyTransport transport,
Address remoteAddress) |
Modifier and Type | Method and Description |
---|---|
protected void |
initOutbound(org.jboss.netty.channel.Channel channel,
java.net.SocketAddress remoteSocketAddress,
org.jboss.netty.buffer.ChannelBuffer msg) |
scala.concurrent.Future<AssociationHandle> |
statusFuture() |
protected scala.concurrent.Promise<AssociationHandle> |
statusPromise() |
protected NettyTransport |
transport() |
bindRequested, channelBound, channelClosed, channelConnected, channelDisconnected, channelInterestChanged, channelOpen, channelUnbound, childChannelClosed, childChannelOpen, closeRequested, connectRequested, disconnectRequested, exceptionCaught, handleDownstream, handleUpstream, messageReceived, setInterestOpsRequested, unbindRequested, writeComplete, writeRequested
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
channelConnected, channelDisconnected, channelOpen, exceptionCaught, messageReceived
createHandle, init, onOpen, registerListener
onConnect, onDisconnect, onException, onMessage, transformException
public ClientHandler(NettyTransport transport, Address remoteAddress)
protected final NettyTransport transport()
transport
in interface CommonHandlers
protected final scala.concurrent.Promise<AssociationHandle> statusPromise()
public scala.concurrent.Future<AssociationHandle> statusFuture()
protected final void initOutbound(org.jboss.netty.channel.Channel channel, java.net.SocketAddress remoteSocketAddress, org.jboss.netty.buffer.ChannelBuffer msg)