Package | Description |
---|---|
io.netty.channel.socket |
Abstract TCP and UDP socket interfaces which extend the core channel API.
|
io.netty.channel.socket.nio |
NIO-based socket channel
API implementation - recommended for a large number of connections (>= 1000).
|
io.netty.channel.socket.oio |
Old blocking I/O based socket channel API implementation - recommended for
a small number of connections (< 1000).
|
Constructor and Description |
---|
DefaultSocketChannelConfig(SocketChannel channel,
Socket javaSocket)
Creates a new instance.
|
Modifier and Type | Class and Description |
---|---|
class |
NioSocketChannel
SocketChannel which uses NIO selector based implementation. |
Modifier and Type | Class and Description |
---|---|
class |
OioSocketChannel
Deprecated.
use NIO / EPOLL / KQUEUE transport.
|
Constructor and Description |
---|
DefaultOioSocketChannelConfig(SocketChannel channel,
Socket javaSocket)
Deprecated.
|
Copyright © 2008–2019 The Netty Project. All rights reserved.