From 65e7a351bd87e14415c4135c399c5645df17f6b1 Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Fri, 4 Sep 2009 03:03:47 +0000 Subject: [PATCH] More explanation --- src/main/java/org/jboss/netty/example/echo/EchoClient.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/jboss/netty/example/echo/EchoClient.java b/src/main/java/org/jboss/netty/example/echo/EchoClient.java index 5654643e94..c052fb7b7a 100644 --- a/src/main/java/org/jboss/netty/example/echo/EchoClient.java +++ b/src/main/java/org/jboss/netty/example/echo/EchoClient.java @@ -24,7 +24,9 @@ import org.jboss.netty.channel.socket.nio.NioClientSocketChannelFactory; /** * Sends one message when a connection is open and echoes back any received - * data to the server. + * data to the server. Simply put, the echo client initiates the ping-pong + * traffic between the echo client and server by sending the first message to + * the server. * * @author The Netty Project (netty-dev@lists.jboss.org) * @author Trustin Lee (tlee@redhat.com)