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 |
FixedReceiveBufferSizePredictorFactory.getPredictor() |
ReceiveBufferSizePredictor |
ReceiveBufferSizePredictorFactory.getPredictor()
Returns a newly created
ReceiveBufferSizePredictor . |
ReceiveBufferSizePredictor |
AdaptiveReceiveBufferSizePredictorFactory.getPredictor() |
Modifier and Type | Method and Description |
---|---|
ReceiveBufferSizePredictor |
DatagramChannelConfig.getReceiveBufferSizePredictor()
Returns the
ReceiveBufferSizePredictor which predicts the
number of readable bytes in the socket receive buffer. |
ReceiveBufferSizePredictor |
DefaultDatagramChannelConfig.getReceiveBufferSizePredictor() |
Modifier and Type | Method and Description |
---|---|
void |
DatagramChannelConfig.setReceiveBufferSizePredictor(ReceiveBufferSizePredictor predictor)
Sets the
ReceiveBufferSizePredictor which predicts the
number of readable bytes in the socket receive buffer. |
void |
DefaultDatagramChannelConfig.setReceiveBufferSizePredictor(ReceiveBufferSizePredictor predictor) |
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-2013 The Netty Project. All Rights Reserved.