We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98a1458 commit 6436d79Copy full SHA for 6436d79
Java/netty/echoclient/EchoClient.java
@@ -36,7 +36,7 @@ public void start() throws Exception {
36
.handler(new ChannelInitializer<SocketChannel>() {
37
@Override
38
protected void initChannel(SocketChannel socketChannel) throws Exception {
39
-
+ socketChannel.pipeline().addLast(new EchoClientHandler());
40
}
41
});
42
// 连接到远程节点,阻塞直到连接完成
0 commit comments