Package org.apache.mina.core.filterchain
Interface IoFilter.NextFilter
- Enclosing interface:
IoFilter
public static interface IoFilter.NextFilter
Represents the next
IoFilter in IoFilterChain.-
Method Summary
Modifier and TypeMethodDescriptionvoidevent(IoSession session, FilterEvent event) Forwards an event to next filter.voidexceptionCaught(IoSession session, Throwable cause) ForwardsexceptionCaughtevent to next filter.voidfilterClose(IoSession session) ForwardsfilterCloseevent to next filter.voidfilterWrite(IoSession session, WriteRequest writeRequest) ForwardsfilterWriteevent to next filter.voidinputClosed(IoSession session) voidmessageReceived(IoSession session, Object message) ForwardsmessageReceivedevent to next filter.voidmessageSent(IoSession session, WriteRequest writeRequest) ForwardsmessageSentevent to next filter.voidsessionClosed(IoSession session) ForwardssessionClosedevent to next filter.voidsessionCreated(IoSession session) ForwardssessionCreatedevent to next filter.voidsessionIdle(IoSession session, IdleStatus status) ForwardssessionIdleevent to next filter.voidsessionOpened(IoSession session) ForwardssessionOpenedevent to next filter.
-
Method Details
-
sessionCreated
ForwardssessionCreatedevent to next filter.- Parameters:
session- TheIoSessionwhich has to process this invocation
-
sessionOpened
ForwardssessionOpenedevent to next filter.- Parameters:
session- TheIoSessionwhich has to process this invocation
-
sessionClosed
ForwardssessionClosedevent to next filter.- Parameters:
session- TheIoSessionwhich has to process this invocation
-
sessionIdle
ForwardssessionIdleevent to next filter.- Parameters:
session- TheIoSessionwhich has to process this invocationstatus- TheIdleStatustype
-
exceptionCaught
ForwardsexceptionCaughtevent to next filter.- Parameters:
session- TheIoSessionwhich has to process this invocationcause- The exception that cause this event to be received
-
inputClosed
- Parameters:
session- TheIoSessionwhich has to process this invocation
-
messageReceived
ForwardsmessageReceivedevent to next filter.- Parameters:
session- TheIoSessionwhich has to process this invocationmessage- The received message
-
messageSent
ForwardsmessageSentevent to next filter.- Parameters:
session- TheIoSessionwhich has to process this invocationwriteRequest- TheWriteRequestto process
-
filterWrite
ForwardsfilterWriteevent to next filter.- Parameters:
session- TheIoSessionwhich has to process this invocationwriteRequest- TheWriteRequestto process
-
filterClose
ForwardsfilterCloseevent to next filter.- Parameters:
session- TheIoSessionwhich has to process this invocation
-
event
Forwards an event to next filter.- Parameters:
session- TheIoSessionwhich has to process this invocationevent- The event to propagate
-