public interface IoFilter
| Modifier and Type | Method and Description |
|---|---|
void |
messageReceived(IoSession session,
Object message,
ReadFilterChainController controller)
Invoked when a message is received.
|
void |
messageSent(IoSession session,
Object message)
Invoked when a high level message was written to the low level O/S buffer.
|
void |
messageWriting(IoSession session,
WriteRequest message,
WriteFilterChainController controller)
Invoked when a message is under writing.
|
void |
sessionClosed(IoSession session)
Invoked when a connection is closed.
|
void |
sessionIdle(IoSession session,
IdleStatus status)
Invoked with the related
IdleStatus when a connection becomes idle. |
void |
sessionOpened(IoSession session)
Invoked when a connection has been opened.
|
void sessionOpened(IoSession session)
session - IoSession associated with the invocationvoid sessionClosed(IoSession session)
session - IoSession associated with the invocationvoid sessionIdle(IoSession session, IdleStatus status)
IdleStatus when a connection becomes idle.session - IoSession associated with the invocationvoid messageReceived(IoSession session, Object message, ReadFilterChainController controller)
session - IoSession associated with the invocationmessage - the incoming message to processvoid messageWriting(IoSession session, WriteRequest message, WriteFilterChainController controller)
session - IoSession associated with the invocationmessage - the message to process before writingCopyright © 2009–2013 Apache MINA Project. All rights reserved.