|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.cindy.filter.NullFilter
net.sf.cindy.filter.SessionHandlerFilter
public class SessionHandlerFilter
SessionHandler
filter. The last inner filter.
Constructor Summary | |
---|---|
SessionHandlerFilter()
|
Method Summary | |
---|---|
void |
exceptionCaught(SessionFilterChain filterChain,
java.lang.Throwable cause)
Session caught a exception. |
void |
objectReceived(SessionFilterChain filterChain,
java.lang.Object obj)
Session received a object which is decoded by PacketDecoder . |
void |
objectSent(SessionFilterChain filterChain,
java.lang.Object obj)
Session sent a object. |
void |
sessionClosed(SessionFilterChain filterChain)
Session have closed. |
void |
sessionStarted(SessionFilterChain filterChain)
Session have started. |
void |
sessionTimeout(SessionFilterChain filterChain)
Session timeout, but not closed. |
Methods inherited from class net.sf.cindy.filter.NullFilter |
---|
packetReceived, packetSend, packetSent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SessionHandlerFilter()
Method Detail |
---|
public void exceptionCaught(SessionFilterChain filterChain, java.lang.Throwable cause)
SessionFilter
exceptionCaught
in interface SessionFilter
exceptionCaught
in class NullFilter
filterChain
- session filter chaincause
- exceptionpublic void objectReceived(SessionFilterChain filterChain, java.lang.Object obj) throws java.lang.Exception
SessionFilter
PacketDecoder
.
objectReceived
in interface SessionFilter
objectReceived
in class NullFilter
filterChain
- session filter chainobj
- object
java.lang.Exception
- any exceptionpublic void objectSent(SessionFilterChain filterChain, java.lang.Object obj) throws java.lang.Exception
SessionFilter
objectSent
in interface SessionFilter
objectSent
in class NullFilter
filterChain
- session filter chainobj
- the sent object
java.lang.Exception
- any exceptionpublic void sessionClosed(SessionFilterChain filterChain) throws java.lang.Exception
SessionFilter
sessionClosed
in interface SessionFilter
sessionClosed
in class NullFilter
filterChain
- session filter chain
java.lang.Exception
- any exceptionpublic void sessionStarted(SessionFilterChain filterChain) throws java.lang.Exception
SessionFilter
sessionStarted
in interface SessionFilter
sessionStarted
in class NullFilter
filterChain
- session filter chain
java.lang.Exception
- any exceptionpublic void sessionTimeout(SessionFilterChain filterChain) throws java.lang.Exception
SessionFilter
sessionTimeout
in interface SessionFilter
sessionTimeout
in class NullFilter
filterChain
- session filter chain
java.lang.Exception
- any exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |