Chapter 2 - First Netty Application - Echo Client and Server
Echo Server
- At least one ChannelHandler - implementation of data processing
- Bootstrapping - startup code that configures server.
Echo Client
The client will:
- Connect to the server
- Send one or more messages
- For each message, wait for and receive the same message back from the server
- Close the connection
NOTE: SimpleChannelInboundHandler takes care of releasing the memory reference to the ByteBuf that holds the message.