From 5fa73d2af5e9ff641649f41af631cf73036f39da Mon Sep 17 00:00:00 2001 From: Trustin Lee Date: Tue, 14 Jul 2009 10:37:36 +0000 Subject: [PATCH] Example sync between package-info.java --- .../netty/example/http/tunnel/LocalEchoServerRegistration.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/org/jboss/netty/example/http/tunnel/LocalEchoServerRegistration.java b/src/main/java/org/jboss/netty/example/http/tunnel/LocalEchoServerRegistration.java index 235122d9cf..e75eb3d7a7 100644 --- a/src/main/java/org/jboss/netty/example/http/tunnel/LocalEchoServerRegistration.java +++ b/src/main/java/org/jboss/netty/example/http/tunnel/LocalEchoServerRegistration.java @@ -50,6 +50,8 @@ public class LocalEchoServerRegistration { ServerBootstrap serverBootstrap = new ServerBootstrap(factory); EchoHandler handler = new EchoHandler(); serverBootstrap.getPipeline().addLast("handler", handler); + + // Note that "myLocalServer" is the endpoint which was specified in web.xml. serverChannel = serverBootstrap.bind(new LocalAddress("myLocalServer")); }