public abstract class SimpleTcpClient.AbstractHandler extends Object implements Handler
| 构造器和说明 |
|---|
AbstractHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
exceptionCaught(Session session,
Throwable t) |
void |
failedOpeningSession(Integer sessionId,
Throwable t) |
void |
messageRecieved(Session session,
Object message) |
void |
sessionClosed(Session session) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfailedAcceptingSession, sessionOpenedpublic void messageRecieved(Session session, Object message) throws Throwable
messageRecieved 在接口中 HandlerThrowablepublic void failedOpeningSession(Integer sessionId, Throwable t) throws Throwable
failedOpeningSession 在接口中 HandlerThrowablepublic void sessionClosed(Session session) throws Throwable
sessionClosed 在接口中 HandlerThrowableCopyright © 2016. All rights reserved.