Package org.apache.mina.core.filterchain
Interface IoFilter.NextFilter
-
- Enclosing interface:
- IoFilter
public static interface IoFilter.NextFilterRepresents the nextIoFilterinIoFilterChain.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidevent(IoSession session, FilterEvent event)Forwards an event to next filter.voidexceptionCaught(IoSession session, java.lang.Throwable cause)Forwards exceptionCaught event to next filter.voidfilterClose(IoSession session)Forwards filterClose event to next filter.voidfilterWrite(IoSession session, WriteRequest writeRequest)Forwards filterWrite event to next filter.voidinputClosed(IoSession session)voidmessageReceived(IoSession session, java.lang.Object message)Forwards messageReceived event to next filter.voidmessageSent(IoSession session, WriteRequest writeRequest)Forwards messageSent event to next filter.voidsessionClosed(IoSession session)Forwards sessionClosed event to next filter.voidsessionCreated(IoSession session)Forwards sessionCreated event to next filter.voidsessionIdle(IoSession session, IdleStatus status)Forwards sessionIdle event to next filter.voidsessionOpened(IoSession session)Forwards sessionOpened event to next filter.
-
-
-
Method Detail
-
sessionCreated
void sessionCreated(IoSession session)
Forwards sessionCreated event to next filter.- Parameters:
session- TheIoSessionwhich has to process this invocation
-
sessionOpened
void sessionOpened(IoSession session)
Forwards sessionOpened event to next filter.- Parameters:
session- TheIoSessionwhich has to process this invocation
-
sessionClosed
void sessionClosed(IoSession session)
Forwards sessionClosed event to next filter.- Parameters:
session- TheIoSessionwhich has to process this invocation
-
sessionIdle
void sessionIdle(IoSession session, IdleStatus status)
Forwards sessionIdle event to next filter.- Parameters:
session- TheIoSessionwhich has to process this invocationstatus- TheIdleStatustype
-
exceptionCaught
void exceptionCaught(IoSession session, java.lang.Throwable cause)
Forwards exceptionCaught event to next filter.- Parameters:
session- TheIoSessionwhich has to process this invocationcause- The exception that cause this event to be received
-
inputClosed
void inputClosed(IoSession session)
- Parameters:
session- TheIoSessionwhich has to process this invocation
-
messageReceived
void messageReceived(IoSession session, java.lang.Object message)
Forwards messageReceived event to next filter.- Parameters:
session- TheIoSessionwhich has to process this invocationmessage- The received message
-
messageSent
void messageSent(IoSession session, WriteRequest writeRequest)
Forwards messageSent event to next filter.- Parameters:
session- TheIoSessionwhich has to process this invocationwriteRequest- TheWriteRequestto process
-
filterWrite
void filterWrite(IoSession session, WriteRequest writeRequest)
Forwards filterWrite event to next filter.- Parameters:
session- TheIoSessionwhich has to process this invocationwriteRequest- TheWriteRequestto process
-
filterClose
void filterClose(IoSession session)
Forwards filterClose event to next filter.- Parameters:
session- TheIoSessionwhich has to process this invocation
-
event
void event(IoSession session, FilterEvent event)
Forwards an event to next filter.- Parameters:
session- TheIoSessionwhich has to process this invocationevent- The event to propagate
-
-