Netty Examples
This docuemnts contain the examples for getting start with Netty, we use the version of netty is 3.6.2 at the monment, this may be upgrade later.
Discard example
-
Source Code: https://github.com/kylinsoong/teiid-samples/tree/master/netty-samples/src/main/java/org/jboss/netty/example/discard
-
Run DiscardServer start server
-
Run DiscardClient start client
Echo example
-
Source code: https://github.com/kylinsoong/teiid-samples/tree/master/netty-samples/src/main/java/org/jboss/netty/example/echo
-
Run EchoServer start server
-
Run EchoClient start client
Telnet example
-
Source code: https://github.com/kylinsoong/teiid-samples/tree/master/netty-samples/src/main/java/org/jboss/netty/example/telnet
-
Run TelnetServer
-
Enter “telnet localhost 8080” in the command line as client