use of io.xdag.net.handler.XdagHandshakeHandler in project xdagj by XDagger.
the class XdagChannel method init.
public void init(ChannelPipeline pipeline, Kernel kernel, boolean isServer, InetSocketAddress inetSocketAddress) {
this.kernel = kernel;
this.inetSocketAddress = inetSocketAddress;
this.handshakeHandler = new XdagHandshakeHandler(kernel, this);
handshakeHandler.setServer(isServer);
pipeline.addLast("handshakeHandler", handshakeHandler);
this.messageQueue = new MessageQueue(this);
this.messageCodec = new MessageCodes();
this.blockHandler = new XdagBlockHandler(this);
this.xdagHandlerFactory = new XdagHandlerFactoryImpl(kernel, this);
}
Aggregations