user3366706
user3366706

Reputation: 1599

What is a Channel in Netty IO?

Can someone say what is actually a CHANNEL means in Netty-IO? Is it a socket connection? a thread? a queue? or something else. I know it's very basic and silly, but if I understand this then I can understand/visualize the concepts of Netty-IO.

Upvotes: 0

Views: 551

Answers (1)

A channel is a abstraction for a Object that allows to performing read/write operation very similar to file descriptor in Unix that is a handle to either a file or a socket or a device. Look at the Javadoc of NIO channel.

Upvotes: 1

Related Questions