| Package | Description |
|---|---|
| org.apache.mina.api |
Base API for the MINA library.
|
| org.apache.mina.filter.logging | |
| org.apache.mina.service.executor |
Classes in charge of decoupling IoHandler event of the low level read/write/accept I/O threads (
SelectorLoop ). |
| org.apache.mina.session | |
| org.apache.mina.transport.tcp |
Shared plumber for TCP transport implementations.
|
| Modifier and Type | Method and Description |
|---|---|
static IdleStatus |
IdleStatus.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IdleStatus[] |
IdleStatus.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
long |
IoSessionConfig.getIdleTimeInMillis(IdleStatus status)
Returns idle time for the specified type of idleness in milli-seconds.
|
void |
IoHandler.sessionIdle(IoSession session,
IdleStatus status)
Invoked with the related
IdleStatus when a connection becomes idle. |
void |
IoFilter.sessionIdle(IoSession session,
IdleStatus status)
Invoked with the related
IdleStatus when a connection becomes idle. |
void |
AbstractIoHandler.sessionIdle(IoSession session,
IdleStatus status)
Invoked with the related
IdleStatus when a connection becomes idle. |
void |
AbstractIoFilter.sessionIdle(IoSession session,
IdleStatus status)
Invoked with the related
IdleStatus when a connection becomes idle. |
void |
IoSessionConfig.setIdleTimeInMillis(IdleStatus status,
long ildeTimeInMilli)
Set the delay before an
IoSession is considered idle for a given
operation type (read/write/both) @see IdleStatus |
| Modifier and Type | Method and Description |
|---|---|
void |
LoggingFilter.sessionIdle(IoSession session,
IdleStatus status)
Invoked with the related
IdleStatus when a connection becomes idle. |
| Modifier and Type | Method and Description |
|---|---|
IdleStatus |
IdleEvent.getIdleStatus() |
| Constructor and Description |
|---|
IdleEvent(IoSession session,
IdleStatus status) |
| Modifier and Type | Method and Description |
|---|---|
long |
AbstractIoSessionConfig.getIdleTimeInMillis(IdleStatus status)
Returns idle time for the specified type of idleness in milli-seconds.
|
void |
AbstractIoSession.processSessionIdle(IdleStatus status)
process session idle event using the filter chain.
|
void |
AbstractIoSessionConfig.setIdleTimeInMillis(IdleStatus status,
long ildeTimeInMilli)
Set the delay before an
IoSession is considered idle for a given
operation type (read/write/both) @see IdleStatus |
| Modifier and Type | Method and Description |
|---|---|
long |
ProxyTcpSessionConfig.getIdleTimeInMillis(IdleStatus status)
Returns idle time for the specified type of idleness in milli-seconds.
|
void |
ProxyTcpSessionConfig.setIdleTimeInMillis(IdleStatus status,
long ildeTimeInMilli)
Set the delay before an
IoSession is considered idle for a given
operation type (read/write/both) @see IdleStatus |
Copyright © 2009–2013 Apache MINA Project. All rights reserved.