程序包 | 说明 |
---|---|
org.jboss.netty.channel.socket |
Abstract TCP and UDP socket interfaces which extend the core channel API.
|
org.jboss.netty.channel.socket.nio |
NIO-based socket channel
API implementation - recommended for a large number of connections (>= 1000).
|
org.jboss.netty.channel.socket.oio |
Old blocking I/O based socket channel API implementation - recommended for
a small number of connections (< 1000).
|
限定符和类型 | 方法和说明 |
---|---|
ServerSocketChannel |
ServerSocketChannelFactory.newChannel(ChannelPipeline pipeline) |
限定符和类型 | 方法和说明 |
---|---|
ServerSocketChannel |
NioServerSocketChannelFactory.newChannel(ChannelPipeline pipeline) |
限定符和类型 | 方法和说明 |
---|---|
ServerSocketChannel |
OioServerSocketChannelFactory.newChannel(ChannelPipeline pipeline) |