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