Package com.bradyrussell.uiscoin.netty
Class NodeP2PIdleStateHandler
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.ChannelDuplexHandler
com.bradyrussell.uiscoin.netty.NodeP2PIdleStateHandler
- All Implemented Interfaces:
io.netty.channel.ChannelHandler
,io.netty.channel.ChannelInboundHandler
,io.netty.channel.ChannelOutboundHandler
public class NodeP2PIdleStateHandler
extends io.netty.channel.ChannelDuplexHandler
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description NodeP2PIdleStateHandler()
-
Method Summary
Modifier and Type Method Description void
userEventTriggered(io.netty.channel.ChannelHandlerContext ctx, java.lang.Object evt)
Methods inherited from class io.netty.channel.ChannelDuplexHandler
bind, close, connect, deregister, disconnect, flush, read, write
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelRead, channelReadComplete, channelRegistered, channelUnregistered, channelWritabilityChanged, exceptionCaught
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerAdded, handlerRemoved, isSharable
-
Constructor Details
-
NodeP2PIdleStateHandler
public NodeP2PIdleStateHandler()
-
-
Method Details
-
userEventTriggered
public void userEventTriggered(io.netty.channel.ChannelHandlerContext ctx, java.lang.Object evt) throws java.lang.Exception- Specified by:
userEventTriggered
in interfaceio.netty.channel.ChannelInboundHandler
- Overrides:
userEventTriggered
in classio.netty.channel.ChannelInboundHandlerAdapter
- Throws:
java.lang.Exception
-