Example sync between package-info.java
This commit is contained in:
parent
cb1c079380
commit
5fa73d2af5
@ -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"));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user