Interface TcpHandlers
-
- All Superinterfaces:
CommonHandlers,NettyHelpers
public interface TcpHandlers extends CommonHandlers
INTERNAL API
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AssociationHandlecreateHandle(org.jboss.netty.channel.Channel channel, Address localAddress, Address remoteAddress)LoggingAdapterlog()voidonDisconnect(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e)voidonException(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ExceptionEvent e)voidonMessage(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.MessageEvent e)voidregisterListener(org.jboss.netty.channel.Channel channel, AssociationHandle.HandleEventListener listener, org.jboss.netty.buffer.ChannelBuffer msg, java.net.InetSocketAddress remoteSocketAddress)-
Methods inherited from interface org.apache.pekko.remote.transport.netty.CommonHandlers
init, onOpen, transport
-
Methods inherited from interface org.apache.pekko.remote.transport.netty.NettyHelpers
onConnect, transformException
-
-
-
-
Method Detail
-
createHandle
AssociationHandle createHandle(org.jboss.netty.channel.Channel channel, Address localAddress, Address remoteAddress)
- Specified by:
createHandlein interfaceCommonHandlers
-
log
LoggingAdapter log()
-
onDisconnect
void onDisconnect(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ChannelStateEvent e)- Specified by:
onDisconnectin interfaceNettyHelpers
-
onException
void onException(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.ExceptionEvent e)- Specified by:
onExceptionin interfaceNettyHelpers
-
onMessage
void onMessage(org.jboss.netty.channel.ChannelHandlerContext ctx, org.jboss.netty.channel.MessageEvent e)- Specified by:
onMessagein interfaceNettyHelpers
-
registerListener
void registerListener(org.jboss.netty.channel.Channel channel, AssociationHandle.HandleEventListener listener, org.jboss.netty.buffer.ChannelBuffer msg, java.net.InetSocketAddress remoteSocketAddress)- Specified by:
registerListenerin interfaceCommonHandlers
-
-