Skip to content

Commit 6436d79

Browse files
committed
update
1 parent 98a1458 commit 6436d79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Java/netty/echoclient/EchoClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public void start() throws Exception {
3636
.handler(new ChannelInitializer<SocketChannel>() {
3737
@Override
3838
protected void initChannel(SocketChannel socketChannel) throws Exception {
39-
39+
socketChannel.pipeline().addLast(new EchoClientHandler());
4040
}
4141
});
4242
// 连接到远程节点,阻塞直到连接完成

0 commit comments

Comments
 (0)