Tag Netty

Netty framework learning-transmission

Overview The data flowing through the network always has the same type: bytes. How these bytes are transmitted mainly depends on what we call network transmission. The user does not care about the details of the transmission, only whether the bytes…

Netty framework learning, Netty components and design

1. Channel,EventLoop and ChannelFuture This section will discuss the Channel, EventLoop, and ChannelFuture classes, which together can be considered representative of the Netty network abstraction. Channel: Socket EventLoop: control flow, multi-threaded processing, concurrency CHannelFuture: Asynchronous notifications 1.1 Channel Interface Netty’s…