| Package | Description |
|---|---|
| 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).
|
| Modifier and Type | Method and Description |
|---|---|
static InternetProtocolFamily |
InternetProtocolFamily.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InternetProtocolFamily[] |
InternetProtocolFamily.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Field and Description |
|---|---|
private InternetProtocolFamily |
NioDatagramChannelFactory.family |
| Modifier and Type | Method and Description |
|---|---|
static java.net.ProtocolFamily |
ProtocolFamilyConverter.convert(InternetProtocolFamily family)
Convert the
InternetProtocolFamily. |
private static java.nio.channels.DatagramChannel |
NioDatagramChannel.openNonBlockingChannel(InternetProtocolFamily family) |
| Constructor and Description |
|---|
NioDatagramChannel(ChannelFactory factory,
ChannelPipeline pipeline,
ChannelSink sink,
NioDatagramWorker worker,
InternetProtocolFamily family) |
NioDatagramChannelFactory(java.util.concurrent.Executor workerExecutor,
InternetProtocolFamily family)
Creates a new instance.
|
NioDatagramChannelFactory(java.util.concurrent.Executor workerExecutor,
int workerCount,
InternetProtocolFamily family)
Creates a new instance.
|
NioDatagramChannelFactory(InternetProtocolFamily family)
Create a new
NioDatagramChannelFactory with a Executors.newCachedThreadPool(). |
NioDatagramChannelFactory(WorkerPool<NioDatagramWorker> workerPool,
InternetProtocolFamily family)
Creates a new instance.
|