akka.remote.transport.netty
Interface TcpHandlers
- All Superinterfaces:
- CommonHandlers, NettyHelpers
- All Known Implementing Classes:
- TcpClientHandler, TcpServerHandler
public interface TcpHandlers
- extends CommonHandlers
INTERNAL API
Method Summary |
AssociationHandle |
createHandle(org.jboss.netty.channel.Channel channel,
Address localAddress,
Address remoteAddress)
|
void |
onDisconnect(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e)
|
void |
onException(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent e)
|
void |
onMessage(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e)
|
void |
registerListener(org.jboss.netty.channel.Channel channel,
AssociationHandle.HandleEventListener listener,
org.jboss.netty.buffer.ChannelBuffer msg,
java.net.InetSocketAddress remoteSocketAddress)
|
registerListener
void registerListener(org.jboss.netty.channel.Channel channel,
AssociationHandle.HandleEventListener listener,
org.jboss.netty.buffer.ChannelBuffer msg,
java.net.InetSocketAddress remoteSocketAddress)
- Specified by:
registerListener
in interface CommonHandlers
createHandle
AssociationHandle createHandle(org.jboss.netty.channel.Channel channel,
Address localAddress,
Address remoteAddress)
- Specified by:
createHandle
in interface CommonHandlers
onDisconnect
void onDisconnect(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ChannelStateEvent e)
- Specified by:
onDisconnect
in interface NettyHelpers
onMessage
void onMessage(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.MessageEvent e)
- Specified by:
onMessage
in interface NettyHelpers
onException
void onException(org.jboss.netty.channel.ChannelHandlerContext ctx,
org.jboss.netty.channel.ExceptionEvent e)
- Specified by:
onException
in interface NettyHelpers