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 |
AdaptiveReceiveBufferSizePredictor
The
ReceiveBufferSizePredictor that automatically increases and
decreases the predicted buffer size on feed back. |
class |
FixedReceiveBufferSizePredictor
The
ReceiveBufferSizePredictor that always yields the same buffer
size prediction. |
Modifier and Type | Method and Description |
---|---|
ReceiveBufferSizePredictor |
ReceiveBufferSizePredictorFactory.getPredictor()
Returns a newly created
ReceiveBufferSizePredictor . |
ReceiveBufferSizePredictor |
FixedReceiveBufferSizePredictorFactory.getPredictor() |
ReceiveBufferSizePredictor |
AdaptiveReceiveBufferSizePredictorFactory.getPredictor() |
Modifier and Type | Method and Description |
---|---|
ReceiveBufferSizePredictor |
DefaultDatagramChannelConfig.getReceiveBufferSizePredictor() |
ReceiveBufferSizePredictor |
DatagramChannelConfig.getReceiveBufferSizePredictor()
Returns the
ReceiveBufferSizePredictor which predicts the
number of readable bytes in the socket receive buffer. |
Modifier and Type | Method and Description |
---|---|
void |
DefaultDatagramChannelConfig.setReceiveBufferSizePredictor(ReceiveBufferSizePredictor predictor) |
void |
DatagramChannelConfig.setReceiveBufferSizePredictor(ReceiveBufferSizePredictor predictor)
Sets the
ReceiveBufferSizePredictor which predicts the
number of readable bytes in the socket receive buffer. |
Modifier and Type | Method and Description |
---|---|
ReceiveBufferSizePredictor |
NioSocketChannelConfig.getReceiveBufferSizePredictor()
Returns the
ReceiveBufferSizePredictor which predicts the
number of readable bytes in the socket receive buffer. |
Modifier and Type | Method and Description |
---|---|
void |
NioSocketChannelConfig.setReceiveBufferSizePredictor(ReceiveBufferSizePredictor predictor)
Sets the
ReceiveBufferSizePredictor which predicts the
number of readable bytes in the socket receive buffer. |
Copyright © 2008-2015 The Netty Project. All Rights Reserved.