| Constructor and Description |
|---|
IoHandlerAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
exceptionCaught(S session,
Throwable cause) |
void |
messageReceived(S session,
M message) |
void |
messageSent(S session,
M message) |
void |
sessionClosed(S session) |
void |
sessionCreated(S session) |
void |
sessionIdle(S session) |
void |
sessionOpened(S session) |
public void exceptionCaught(S session, Throwable cause) throws Exception
exceptionCaught in interface IoHandler<S extends org.apache.mina.core.session.IoSession,M>Exceptionpublic void messageReceived(S session, M message) throws Exception
messageReceived in interface IoHandler<S extends org.apache.mina.core.session.IoSession,M>Exceptionpublic void messageSent(S session, M message) throws Exception
messageSent in interface IoHandler<S extends org.apache.mina.core.session.IoSession,M>Exceptionpublic void sessionClosed(S session) throws Exception
sessionClosed in interface IoHandler<S extends org.apache.mina.core.session.IoSession,M>Exceptionpublic void sessionCreated(S session) throws Exception
sessionCreated in interface IoHandler<S extends org.apache.mina.core.session.IoSession,M>Exceptionpublic void sessionIdle(S session) throws Exception
sessionIdle in interface IoHandler<S extends org.apache.mina.core.session.IoSession,M>ExceptionCopyright © 2014–2016. All rights reserved.