Package | Description |
---|---|
org.apache.mina.core.filterchain | |
org.apache.mina.core.service | |
org.apache.mina.core.session | |
org.apache.mina.filter.executor |
IoFilters that provide flexible thread model and event queue
monitoring interface.
|
org.apache.mina.filter.firewall |
Classes that implement IoFilter and provide host blocking and throttling.
|
org.apache.mina.filter.keepalive |
IoFilter that provides the ability for connections to remain open when data is not being transferred.
|
org.apache.mina.filter.logging |
Classes that implement IoFilter and provide logging of the events and data that flows through a MINA-based system.
|
org.apache.mina.filter.statistic |
Classes that implement IoFilter and provide the ability for filters to be timed on their performance.
|
org.apache.mina.filter.util |
Utility classes for the MINA filtering portion of the library.
|
org.apache.mina.handler.multiton |
Enables creating a handler per session instead of having one handler for many
sessions, using
Multiton pattern.
|
org.apache.mina.handler.stream | |
org.apache.mina.proxy.event | |
org.apache.mina.proxy.filter |
Modifier and Type | Method and Description |
---|---|
void |
IoFilterChain.fireSessionIdle(IdleStatus status)
Fires a
IoHandler.sessionIdle(IoSession, IdleStatus) event. |
void |
DefaultIoFilterChain.fireSessionIdle(IdleStatus status) |
void |
IoFilter.sessionIdle(IoFilter.NextFilter nextFilter,
IoSession session,
IdleStatus status)
Filters
IoHandler.sessionIdle(IoSession,IdleStatus)
event. |
void |
IoFilterAdapter.sessionIdle(IoFilter.NextFilter nextFilter,
IoSession session,
IdleStatus status)
Filters
IoHandler.sessionIdle(IoSession,IdleStatus)
event. |
void |
IoFilter.NextFilter.sessionIdle(IoSession session,
IdleStatus status)
Forwards sessionIdle event to next filter.
|
Modifier and Type | Method and Description |
---|---|
void |
IoServiceListener.serviceIdle(IoService service,
IdleStatus idleStatus)
Invoked when a service is idle.
|
void |
IoHandlerAdapter.sessionIdle(IoSession session,
IdleStatus status) |
void |
IoHandler.sessionIdle(IoSession session,
IdleStatus status)
Invoked with the related
IdleStatus when a connection becomes idle. |
Modifier and Type | Field and Description |
---|---|
static IdleStatus |
IdleStatus.BOTH_IDLE
Represents both
READER_IDLE and WRITER_IDLE . |
static IdleStatus |
IdleStatus.READER_IDLE
Represents the session status that no data is coming from the remote
peer.
|
static IdleStatus |
IdleStatus.WRITER_IDLE
Represents the session status that the session is not writing any data.
|
Modifier and Type | Method and Description |
---|---|
int |
IoSession.getIdleCount(IdleStatus status)
Returns the number of the fired continuous sessionIdle events
for the specified
IdleStatus . |
int |
AbstractIoSession.getIdleCount(IdleStatus status)
Returns the number of the fired continuous sessionIdle events
for the specified
IdleStatus . |
int |
AbstractIoSessionConfig.getIdleTime(IdleStatus status)
Returns idle time for the specified type of idleness in seconds.
|
int |
IoSessionConfig.getIdleTime(IdleStatus status)
Returns idle time for the specified type of idleness in seconds.
|
long |
AbstractIoSessionConfig.getIdleTimeInMillis(IdleStatus status)
Returns idle time for the specified type of idleness in milliseconds.
|
long |
IoSessionConfig.getIdleTimeInMillis(IdleStatus status)
Returns idle time for the specified type of idleness in milliseconds.
|
long |
IoSession.getLastIdleTime(IdleStatus status)
Returns the time in milliseconds when the last sessionIdle event
is fired for the specified
IdleStatus . |
long |
AbstractIoSession.getLastIdleTime(IdleStatus status)
Returns the time in milliseconds when the last sessionIdle event
is fired for the specified
IdleStatus . |
void |
AbstractIoSession.increaseIdleCount(IdleStatus status,
long currentTime)
TODO Add method documentation
|
boolean |
IoSession.isIdle(IdleStatus status)
Returns
true if this session is idle for the specified
IdleStatus . |
boolean |
AbstractIoSession.isIdle(IdleStatus status)
Returns
true if this session is idle for the specified
IdleStatus . |
void |
AbstractIoSessionConfig.setIdleTime(IdleStatus status,
int idleTime)
Sets idle time for the specified type of idleness in seconds.
|
void |
IoSessionConfig.setIdleTime(IdleStatus status,
int idleTime)
Sets idle time for the specified type of idleness in seconds.
|
Modifier and Type | Method and Description |
---|---|
void |
ExecutorFilter.sessionIdle(IoFilter.NextFilter nextFilter,
IoSession session,
IdleStatus status)
Filters
IoHandler.sessionIdle(IoSession,IdleStatus)
event. |
Modifier and Type | Method and Description |
---|---|
void |
BlacklistFilter.sessionIdle(IoFilter.NextFilter nextFilter,
IoSession session,
IdleStatus status) |
Modifier and Type | Method and Description |
---|---|
IdleStatus |
KeepAliveFilter.getInterestedIdleStatus() |
Modifier and Type | Method and Description |
---|---|
void |
KeepAliveFilter.sessionIdle(IoFilter.NextFilter nextFilter,
IoSession session,
IdleStatus status) |
Constructor and Description |
---|
KeepAliveFilter(KeepAliveMessageFactory messageFactory,
IdleStatus interestedIdleStatus)
Creates a new instance with the default properties.
|
KeepAliveFilter(KeepAliveMessageFactory messageFactory,
IdleStatus interestedIdleStatus,
KeepAliveRequestTimeoutHandler policy)
Creates a new instance with the default properties.
|
KeepAliveFilter(KeepAliveMessageFactory messageFactory,
IdleStatus interestedIdleStatus,
KeepAliveRequestTimeoutHandler policy,
int keepAliveRequestInterval,
int keepAliveRequestTimeout)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
LoggingFilter.sessionIdle(IoFilter.NextFilter nextFilter,
IoSession session,
IdleStatus status) |
Modifier and Type | Method and Description |
---|---|
void |
ProfilerTimerFilter.sessionIdle(IoFilter.NextFilter nextFilter,
IoSession session,
IdleStatus status)
Profile a SessionIdle event.
|
Modifier and Type | Method and Description |
---|---|
void |
ReferenceCountingFilter.sessionIdle(IoFilter.NextFilter nextFilter,
IoSession session,
IdleStatus status) |
void |
CommonEventFilter.sessionIdle(IoFilter.NextFilter nextFilter,
IoSession session,
IdleStatus status) |
Modifier and Type | Method and Description |
---|---|
void |
SingleSessionIoHandler.sessionIdle(IdleStatus status)
Deprecated.
Invoked when the connection is idle.
|
void |
SingleSessionIoHandlerAdapter.sessionIdle(IdleStatus status)
Deprecated.
|
void |
SingleSessionIoHandlerDelegate.sessionIdle(IoSession session,
IdleStatus status)
Deprecated.
Delegates the method call to the
SingleSessionIoHandler.sessionIdle(IdleStatus) method of the
handler assigned to this session. |
Modifier and Type | Method and Description |
---|---|
void |
StreamIoHandler.sessionIdle(IoSession session,
IdleStatus status)
Handles read timeout.
|
Modifier and Type | Method and Description |
---|---|
IdleStatus |
IoSessionEvent.getStatus()
Returns the idle status of the event.
|
Constructor and Description |
---|
IoSessionEvent(IoFilter.NextFilter nextFilter,
IoSession session,
IdleStatus status)
Creates an instance of this class when event type is
IoSessionEventType.IDLE . |
Modifier and Type | Method and Description |
---|---|
void |
ProxyFilter.sessionIdle(IoFilter.NextFilter nextFilter,
IoSession session,
IdleStatus status)
Event is stored in an
IoSessionEventQueue for later delivery to the next filter
in the chain when the handshake would have succeed. |
Copyright © 2004-2019 Apache MINA Project. All Rights Reserved.