public class NettyFabricAgentRegistrationChannelHandler extends io.netty.channel.SimpleChannelInboundHandler<NettyFabricAgentConfig>
Modifier and Type | Class and Description |
---|---|
protected class |
NettyFabricAgentRegistrationChannelHandler.OnRegistration |
protected class |
NettyFabricAgentRegistrationChannelHandler.PostDisconnectChannelFutureListener |
Constructor and Description |
---|
NettyFabricAgentRegistrationChannelHandler(FabricAgentRegistry fabricAgentRegistry,
java.nio.file.Path repositoryParentPath,
io.netty.util.concurrent.EventExecutorGroup eventExecutorGroup,
long getFileTimeout,
long rpcRelayTimeout,
long startupTimeout) |
Modifier and Type | Method and Description |
---|---|
protected void |
channelRead0(io.netty.channel.ChannelHandlerContext channelHandlerContext,
NettyFabricAgentConfig nettyFabricAgentConfig) |
void |
exceptionCaught(io.netty.channel.ChannelHandlerContext channelHandlerContext,
java.lang.Throwable throwable) |
acceptInboundMessage, channelRead
channelActive, channelInactive, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, userEventTriggered
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
public NettyFabricAgentRegistrationChannelHandler(FabricAgentRegistry fabricAgentRegistry, java.nio.file.Path repositoryParentPath, io.netty.util.concurrent.EventExecutorGroup eventExecutorGroup, long getFileTimeout, long rpcRelayTimeout, long startupTimeout)
public void exceptionCaught(io.netty.channel.ChannelHandlerContext channelHandlerContext, java.lang.Throwable throwable)
exceptionCaught
in interface io.netty.channel.ChannelHandler
exceptionCaught
in interface io.netty.channel.ChannelInboundHandler
exceptionCaught
in class io.netty.channel.ChannelInboundHandlerAdapter
protected void channelRead0(io.netty.channel.ChannelHandlerContext channelHandlerContext, NettyFabricAgentConfig nettyFabricAgentConfig) throws java.io.IOException
channelRead0
in class io.netty.channel.SimpleChannelInboundHandler<NettyFabricAgentConfig>
java.io.IOException