Package | Description |
---|---|
org.jboss.netty.channel |
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
|
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 | Class and Description |
---|---|
class |
AdaptiveReceiveBufferSizePredictorFactory
The
ReceiveBufferSizePredictorFactory that creates a new
AdaptiveReceiveBufferSizePredictor . |
class |
FixedReceiveBufferSizePredictorFactory
The
ReceiveBufferSizePredictorFactory that returns a
FixedReceiveBufferSizePredictor with the pre-defined configuration. |
Modifier and Type | Method and Description |
---|---|
ReceiveBufferSizePredictorFactory |
DefaultDatagramChannelConfig.getReceiveBufferSizePredictorFactory() |
ReceiveBufferSizePredictorFactory |
DatagramChannelConfig.getReceiveBufferSizePredictorFactory()
Returns the
ReceiveBufferSizePredictorFactory which creates a new
ReceiveBufferSizePredictor when a new channel is created and
no ReceiveBufferSizePredictor was set. |
Modifier and Type | Method and Description |
---|---|
void |
DefaultDatagramChannelConfig.setReceiveBufferSizePredictorFactory(ReceiveBufferSizePredictorFactory predictorFactory) |
void |
DatagramChannelConfig.setReceiveBufferSizePredictorFactory(ReceiveBufferSizePredictorFactory predictorFactory)
Sets the
ReceiveBufferSizePredictor which creates a new
ReceiveBufferSizePredictor when a new channel is created and
no ReceiveBufferSizePredictor was set. |
Modifier and Type | Method and Description |
---|---|
ReceiveBufferSizePredictorFactory |
NioSocketChannelConfig.getReceiveBufferSizePredictorFactory()
Returns the
ReceiveBufferSizePredictorFactory which creates a new
ReceiveBufferSizePredictor when a new channel is created and
no ReceiveBufferSizePredictor was set. |
Modifier and Type | Method and Description |
---|---|
void |
NioSocketChannelConfig.setReceiveBufferSizePredictorFactory(ReceiveBufferSizePredictorFactory predictorFactory)
Sets the
ReceiveBufferSizePredictor which creates a new
ReceiveBufferSizePredictor when a new channel is created and
no ReceiveBufferSizePredictor was set. |
Copyright © 2008-2015 The Netty Project. All Rights Reserved.