Netty 4 Output Example
Netty 4 Output Example has 2 parts: Server and Client, the Server listen on a socket address, client send message to Server, every time Server received a Message, just output Message to console.
Netty 4 Output Example Server
Netty 4 Output Example Client
Run the Client send a message to Server, the output like:
[id: 0x65f541bd, /127.0.0.1:51252 => /127.0.0.1:31001] active
[id: 0x65f541bd, /127.0.0.1:51252 => /127.0.0.1:31001] read: MessageHolder: key=1 contents=Hello Wolrd
[id: 0x65f541bd, /127.0.0.1:51252 :> /127.0.0.1:31001] inactive