Package com.google.code.yanf4j.core.impl
Class HandlerAdapter
java.lang.Object
com.google.code.yanf4j.core.impl.HandlerAdapter
- All Implemented Interfaces:
Handler
- Direct Known Subclasses:
MemcachedHandler
IO Handler adapter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
onExceptionCaught
(Session session, Throwable throwable) void
onMessageReceived
(Session session, Object message) void
onMessageSent
(Session session, Object message) void
onSessionClosed
(Session session) void
onSessionConnected
(Session session) void
onSessionCreated
(Session session) void
onSessionExpired
(Session session) void
onSessionIdle
(Session session) void
onSessionStarted
(Session session)
-
Field Details
-
log
private static final org.slf4j.Logger log
-
-
Constructor Details
-
HandlerAdapter
public HandlerAdapter()
-
-
Method Details
-
onExceptionCaught
- Specified by:
onExceptionCaught
in interfaceHandler
-
onMessageSent
- Specified by:
onMessageSent
in interfaceHandler
-
onSessionConnected
- Specified by:
onSessionConnected
in interfaceHandler
-
onSessionStarted
- Specified by:
onSessionStarted
in interfaceHandler
-
onSessionCreated
- Specified by:
onSessionCreated
in interfaceHandler
-
onSessionClosed
- Specified by:
onSessionClosed
in interfaceHandler
-
onMessageReceived
- Specified by:
onMessageReceived
in interfaceHandler
-
onSessionIdle
- Specified by:
onSessionIdle
in interfaceHandler
-
onSessionExpired
- Specified by:
onSessionExpired
in interfaceHandler
-