Package org.apache.mina.core.filterchain
Interface IoFilter.NextFilter
-
- Enclosing interface:
- IoFilter
public static interface IoFilter.NextFilter
Represents the nextIoFilter
inIoFilterChain
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
event(IoSession session, FilterEvent event)
Forwards an event to next filter.void
exceptionCaught(IoSession session, Throwable cause)
ForwardsexceptionCaught
event to next filter.void
filterClose(IoSession session)
ForwardsfilterClose
event to next filter.void
filterWrite(IoSession session, WriteRequest writeRequest)
ForwardsfilterWrite
event to next filter.void
inputClosed(IoSession session)
void
messageReceived(IoSession session, Object message)
ForwardsmessageReceived
event to next filter.void
messageSent(IoSession session, WriteRequest writeRequest)
ForwardsmessageSent
event to next filter.void
sessionClosed(IoSession session)
ForwardssessionClosed
event to next filter.void
sessionCreated(IoSession session)
ForwardssessionCreated
event to next filter.void
sessionIdle(IoSession session, IdleStatus status)
ForwardssessionIdle
event to next filter.void
sessionOpened(IoSession session)
ForwardssessionOpened
event to next filter.
-
-
-
Method Detail
-
sessionCreated
void sessionCreated(IoSession session)
ForwardssessionCreated
event to next filter.- Parameters:
session
- TheIoSession
which has to process this invocation
-
sessionOpened
void sessionOpened(IoSession session)
ForwardssessionOpened
event to next filter.- Parameters:
session
- TheIoSession
which has to process this invocation
-
sessionClosed
void sessionClosed(IoSession session)
ForwardssessionClosed
event to next filter.- Parameters:
session
- TheIoSession
which has to process this invocation
-
sessionIdle
void sessionIdle(IoSession session, IdleStatus status)
ForwardssessionIdle
event to next filter.- Parameters:
session
- TheIoSession
which has to process this invocationstatus
- TheIdleStatus
type
-
exceptionCaught
void exceptionCaught(IoSession session, Throwable cause)
ForwardsexceptionCaught
event to next filter.- Parameters:
session
- TheIoSession
which has to process this invocationcause
- The exception that cause this event to be received
-
inputClosed
void inputClosed(IoSession session)
- Parameters:
session
- TheIoSession
which has to process this invocation
-
messageReceived
void messageReceived(IoSession session, Object message)
ForwardsmessageReceived
event to next filter.- Parameters:
session
- TheIoSession
which has to process this invocationmessage
- The received message
-
messageSent
void messageSent(IoSession session, WriteRequest writeRequest)
ForwardsmessageSent
event to next filter.- Parameters:
session
- TheIoSession
which has to process this invocationwriteRequest
- TheWriteRequest
to process
-
filterWrite
void filterWrite(IoSession session, WriteRequest writeRequest)
ForwardsfilterWrite
event to next filter.- Parameters:
session
- TheIoSession
which has to process this invocationwriteRequest
- TheWriteRequest
to process
-
filterClose
void filterClose(IoSession session)
ForwardsfilterClose
event to next filter.- Parameters:
session
- TheIoSession
which has to process this invocation
-
event
void event(IoSession session, FilterEvent event)
Forwards an event to next filter.- Parameters:
session
- TheIoSession
which has to process this invocationevent
- The event to propagate
-
-