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)
Fires a
IoHandler.sessionIdle(IoSession, IdleStatus) event. |
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)
Invoked with the related
IdleStatus when a connection becomes idle. |
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) |
int |
AbstractIoSession.getIdleCount(IdleStatus status) |
int |
AbstractIoSessionConfig.getIdleTime(IdleStatus status) |
int |
IoSessionConfig.getIdleTime(IdleStatus status) |
long |
AbstractIoSessionConfig.getIdleTimeInMillis(IdleStatus status) |
long |
IoSessionConfig.getIdleTimeInMillis(IdleStatus status) |
long |
IoSession.getLastIdleTime(IdleStatus status) |
long |
AbstractIoSession.getLastIdleTime(IdleStatus status) |
void |
AbstractIoSession.increaseIdleCount(IdleStatus status,
long currentTime)
Increase the count of the various Idle counter
|
boolean |
IoSession.isIdle(IdleStatus status) |
boolean |
AbstractIoSession.isIdle(IdleStatus status) |
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)
Filters
IoHandler.sessionIdle(IoSession,IdleStatus) event. |
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)
Filters
IoHandler.sessionIdle(IoSession,IdleStatus) event. |
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)
Filters
IoHandler.sessionIdle(IoSession,IdleStatus) event. |
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)
Filters
IoHandler.sessionIdle(IoSession,IdleStatus) event. |
void |
CommonEventFilter.sessionIdle(IoFilter.NextFilter nextFilter,
IoSession session,
IdleStatus status)
Filters
IoHandler.sessionIdle(IoSession,IdleStatus) event. |
Modifier and Type | Method and Description |
---|---|
void |
SingleSessionIoHandler.sessionIdle(IdleStatus status)
Deprecated.
Invoked when the connection is idle.
|
void |
SingleSessionIoHandlerAdapter.sessionIdle(IdleStatus status)
Deprecated.
Invoked when the connection is idle.
|
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() |
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–2020 Apache MINA Project. All rights reserved.