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(io.netty.channel.Channel channel, Address localAddress, Address remoteAddress)LoggingAdapterlog()voidnotifyListener(io.netty.channel.Channel channel, AssociationHandle.HandleEvent event)voidonDisconnect(io.netty.channel.ChannelHandlerContext ctx)voidonException(io.netty.channel.ChannelHandlerContext ctx, java.lang.Throwable e)voidonMessage(io.netty.channel.ChannelHandlerContext ctx, io.netty.buffer.ByteBuf msg)voidregisterListener(io.netty.channel.Channel channel, AssociationHandle.HandleEventListener listener, 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
-
log
LoggingAdapter log()
-
registerListener
void registerListener(io.netty.channel.Channel channel, AssociationHandle.HandleEventListener listener, java.net.InetSocketAddress remoteSocketAddress)- Specified by:
registerListenerin interfaceCommonHandlers
-
createHandle
AssociationHandle createHandle(io.netty.channel.Channel channel, Address localAddress, Address remoteAddress)
- Specified by:
createHandlein interfaceCommonHandlers
-
onDisconnect
void onDisconnect(io.netty.channel.ChannelHandlerContext ctx)
- Specified by:
onDisconnectin interfaceNettyHelpers
-
onMessage
void onMessage(io.netty.channel.ChannelHandlerContext ctx, io.netty.buffer.ByteBuf msg)- Specified by:
onMessagein interfaceNettyHelpers
-
onException
void onException(io.netty.channel.ChannelHandlerContext ctx, java.lang.Throwable e)- Specified by:
onExceptionin interfaceNettyHelpers
-
notifyListener
void notifyListener(io.netty.channel.Channel channel, AssociationHandle.HandleEvent event)
-
-