Reputation: 3433
Hi I am new to jBoss netty.I was doing a sample using ClientBootStrap
and ServerBootStrap
and both of them posses individual ChannelFactory
instances.
My confusion is that when the client connect to server, is this connection called the Channel
? or the client and server sides will keep separate Channel
s and client Channel
connect to Server Channel
?.
Can anyone clarify it.
Upvotes: 1
Views: 2163
Reputation: 311050
The connection is between the two channels. The word 'channel' comes from NIO, and it's a poor choice, when you think about it. 'Socket' expresses it better: it's an endpoint of a connection.
Upvotes: 3