Package com.bradyrussell.uiscoin.netty
Class NodeP2PClientInitializer
java.lang.Object
io.netty.channel.ChannelHandlerAdapter
io.netty.channel.ChannelInboundHandlerAdapter
io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
com.bradyrussell.uiscoin.netty.NodeP2PClientInitializer
- All Implemented Interfaces:
io.netty.channel.ChannelHandler
,io.netty.channel.ChannelInboundHandler
public class NodeP2PClientInitializer
extends io.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description NodeP2PClientInitializer()
NodeP2PClientInitializer(UISCoinNode node)
-
Method Summary
Modifier and Type Method Description void
initChannel(io.netty.channel.socket.SocketChannel ch)
Methods inherited from class io.netty.channel.ChannelInitializer
channelRegistered, exceptionCaught, handlerAdded
Methods inherited from class io.netty.channel.ChannelInboundHandlerAdapter
channelActive, channelInactive, channelRead, channelReadComplete, channelUnregistered, channelWritabilityChanged, userEventTriggered
Methods inherited from class io.netty.channel.ChannelHandlerAdapter
ensureNotSharable, handlerRemoved, isSharable
-
Constructor Details
-
NodeP2PClientInitializer
-
NodeP2PClientInitializer
public NodeP2PClientInitializer()
-
-
Method Details
-
initChannel
public void initChannel(io.netty.channel.socket.SocketChannel ch)- Specified by:
initChannel
in classio.netty.channel.ChannelInitializer<io.netty.channel.socket.SocketChannel>
-