|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.cindy.filter.NullFilter
public class NullFilter
Null filter. Null-Object pattern.
Constructor Summary | |
---|---|
NullFilter()
|
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 |
packetReceived(SessionFilterChain filterChain,
Packet packet)
Session received a packet. |
void |
packetSend(SessionFilterChain filterChain,
Packet packet)
Filter before send packet. |
void |
packetSent(SessionFilterChain filterChain,
Packet packet)
Session sent a packet. |
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 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NullFilter()
Method Detail |
---|
public void exceptionCaught(SessionFilterChain filterChain, java.lang.Throwable cause)
SessionFilter
exceptionCaught
in interface SessionFilter
filterChain
- session filter chaincause
- exceptionpublic void packetReceived(SessionFilterChain filterChain, Packet packet) throws java.lang.Exception
SessionFilter
packetReceived
in interface SessionFilter
filterChain
- session filter chainpacket
- the received packet
java.lang.Exception
- any exceptionpublic void objectReceived(SessionFilterChain filterChain, java.lang.Object obj) throws java.lang.Exception
SessionFilter
PacketDecoder
.
objectReceived
in interface SessionFilter
filterChain
- session filter chainobj
- object
java.lang.Exception
- any exceptionpublic void packetSend(SessionFilterChain filterChain, Packet packet) throws java.lang.Exception
SessionFilter
packetSend
in interface SessionFilter
filterChain
- session filter chainpacket
- send packet
java.lang.Exception
- any exceptionpublic void packetSent(SessionFilterChain filterChain, Packet packet) throws java.lang.Exception
SessionFilter
packetSent
in interface SessionFilter
filterChain
- session filter chainpacket
- the sent packet
java.lang.Exception
- any exceptionpublic void objectSent(SessionFilterChain filterChain, java.lang.Object obj) throws java.lang.Exception
SessionFilter
objectSent
in interface SessionFilter
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
filterChain
- session filter chain
java.lang.Exception
- any exceptionpublic void sessionStarted(SessionFilterChain filterChain) throws java.lang.Exception
SessionFilter
sessionStarted
in interface SessionFilter
filterChain
- session filter chain
java.lang.Exception
- any exceptionpublic void sessionTimeout(SessionFilterChain filterChain) throws java.lang.Exception
SessionFilter
sessionTimeout
in interface SessionFilter
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 |