|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.cindy.session.AbstractSessionFilterChain
public abstract class AbstractSessionFilterChain
Abstract session filter chain.
Constructor Summary | |
---|---|
AbstractSessionFilterChain()
|
Method Summary | |
---|---|
void |
exceptionCaught(java.lang.Throwable cause)
Session caught a exception. |
protected abstract SessionFilter |
nextFilter()
|
void |
objectReceived(java.lang.Object obj)
Session received a object which is decoded by PacketDecoder . |
void |
objectSent(java.lang.Object obj)
Session sent a object. |
void |
packetReceived(Packet packet)
Session received a packet. |
void |
packetSend(Packet packet)
Filter before send packet. |
void |
packetSent(Packet packet)
Session sent a packet. |
void |
sessionClosed()
Session have closed or refused. |
void |
sessionStarted()
Session have established. |
void |
sessionTimeout()
Session timeout, but not closed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface net.sf.cindy.SessionFilterChain |
---|
getSession |
Constructor Detail |
---|
public AbstractSessionFilterChain()
Method Detail |
---|
protected abstract SessionFilter nextFilter()
public void exceptionCaught(java.lang.Throwable cause)
SessionFilterChain
exceptionCaught
in interface SessionFilterChain
cause
- exceptionpublic void packetReceived(Packet packet)
SessionFilterChain
packetReceived
in interface SessionFilterChain
packet
- the received packetpublic void objectReceived(java.lang.Object obj)
SessionFilterChain
PacketDecoder
.
objectReceived
in interface SessionFilterChain
obj
- objectpublic void packetSend(Packet packet)
SessionFilterChain
packetSend
in interface SessionFilterChain
packet
- send packetpublic void packetSent(Packet packet)
SessionFilterChain
packetSent
in interface SessionFilterChain
packet
- the sent packetpublic void objectSent(java.lang.Object obj)
SessionFilterChain
objectSent
in interface SessionFilterChain
obj
- the sent objectpublic void sessionClosed()
SessionFilterChain
sessionClosed
in interface SessionFilterChain
public void sessionStarted()
SessionFilterChain
sessionStarted
in interface SessionFilterChain
public void sessionTimeout()
SessionFilterChain
sessionTimeout
in interface SessionFilterChain
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |