|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sf.cindy.SessionFilterAdapter
public class SessionFilterAdapter
SessionFilter adapter.
| Constructor Summary | |
|---|---|
SessionFilterAdapter()
|
|
| 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 SessionFilterAdapter()
| Method Detail |
|---|
public void exceptionCaught(SessionFilterChain filterChain,
java.lang.Throwable cause)
SessionFilter
exceptionCaught in interface SessionFilterfilterChain - session filter chaincause - exception
public void packetReceived(SessionFilterChain filterChain,
Packet packet)
throws java.lang.Exception
SessionFilter
packetReceived in interface SessionFilterfilterChain - session filter chainpacket - the received packet
java.lang.Exception - any exception
public void objectReceived(SessionFilterChain filterChain,
java.lang.Object obj)
throws java.lang.Exception
SessionFilterPacketDecoder.
objectReceived in interface SessionFilterfilterChain - session filter chainobj - object
java.lang.Exception - any exception
public void packetSend(SessionFilterChain filterChain,
Packet packet)
throws java.lang.Exception
SessionFilter
packetSend in interface SessionFilterfilterChain - session filter chainpacket - send packet
java.lang.Exception - any exception
public void packetSent(SessionFilterChain filterChain,
Packet packet)
throws java.lang.Exception
SessionFilter
packetSent in interface SessionFilterfilterChain - session filter chainpacket - the sent packet
java.lang.Exception - any exception
public void objectSent(SessionFilterChain filterChain,
java.lang.Object obj)
throws java.lang.Exception
SessionFilter
objectSent in interface SessionFilterfilterChain - session filter chainobj - the sent object
java.lang.Exception - any exception
public void sessionClosed(SessionFilterChain filterChain)
throws java.lang.Exception
SessionFilter
sessionClosed in interface SessionFilterfilterChain - session filter chain
java.lang.Exception - any exception
public void sessionStarted(SessionFilterChain filterChain)
throws java.lang.Exception
SessionFilter
sessionStarted in interface SessionFilterfilterChain - session filter chain
java.lang.Exception - any exception
public void sessionTimeout(SessionFilterChain filterChain)
throws java.lang.Exception
SessionFilter
sessionTimeout in interface SessionFilterfilterChain - session filter chain
java.lang.Exception - any exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||