Java Doc for IoSessionConfig.java in » Net » mina-2.0.0-M1 » org » apache » mina » common » Java Source Code / Java DocumentationJava Source Code and Java Documentation
The configuration of
IoSession .
author: The Apache MINA Project (dev@mina.apache.org) version: $Rev: 597940 $, $Date: 2007-11-24 18:00:09 -0700 (Sat, 24 Nov 2007) $
Returns the maximum size of the read buffer that I/O processor
allocates per each read. I/O processor will not increase the
read buffer size to the greater value than this property value.
Returns the minimum size of the read buffer that I/O processor
allocates per each read. I/O processor will not decrease the
read buffer size to the smaller value than this property value.
Returns the size of the read buffer that I/O processor allocates
per each read. It's unusual to adjust this property because
it's often adjusted automatically by the I/O processor.
Returns true if and only if
IoSession.read operation
is enabled. If enabled, all received messages are stored in an internal
BlockingQueue so you can read received messages in more
convenient way for client applications. Enabling this option is not
useful to server applications and can cause unintended memory leak, and
therefore it's disabled by default.
Sets the maximum size of the read buffer that I/O processor
allocates per each read. I/O processor will not increase the
read buffer size to the greater value than this property value.
Sets the minimum size of the read buffer that I/O processor
allocates per each read. I/O processor will not decrease the
read buffer size to the smaller value than this property value.
Sets the size of the read buffer that I/O processor allocates
per each read. It's unusual to adjust this property because
it's often adjusted automatically by the I/O processor.
Enables or disabled
IoSession.read operation. If enabled, all
received messages are stored in an internal
BlockingQueue so you
can read received messages in more convenient way for client
applications. Enabling this option is not useful to server applications
and can cause unintended memory leak, and therefore it's disabled by
default.