|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.mina.core.service.IoHandlerAdapter
org.apache.mina.example.imagine.step1.server.ImageServerIoHandler
public class ImageServerIoHandler
server-side IoHandler
Field Summary | |
---|---|
static java.lang.String |
INDEX_KEY
|
Constructor Summary | |
---|---|
ImageServerIoHandler()
|
Method Summary | |
---|---|
void |
exceptionCaught(IoSession session,
java.lang.Throwable cause)
This method will be called whenever an exception occurs. |
void |
messageReceived(IoSession session,
java.lang.Object message)
Handle incoming messages. |
void |
sessionOpened(IoSession session)
Called when the session is opened, which will come after the session created. |
Methods inherited from class org.apache.mina.core.service.IoHandlerAdapter |
---|
messageSent, sessionClosed, sessionCreated, sessionIdle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String INDEX_KEY
Constructor Detail |
---|
public ImageServerIoHandler()
Method Detail |
---|
public void sessionOpened(IoSession session) throws java.lang.Exception
sessionOpened
in interface IoHandler
sessionOpened
in class IoHandlerAdapter
java.lang.Exception
IoHandlerAdapter.sessionOpened(org.apache.mina.core.session.IoSession)
public void exceptionCaught(IoSession session, java.lang.Throwable cause) throws java.lang.Exception
exceptionCaught
in interface IoHandler
exceptionCaught
in class IoHandlerAdapter
java.lang.Exception
IoHandlerAdapter.exceptionCaught(org.apache.mina.core.session.IoSession, java.lang.Throwable)
public void messageReceived(IoSession session, java.lang.Object message) throws java.lang.Exception
messageReceived
in interface IoHandler
messageReceived
in class IoHandlerAdapter
java.lang.Exception
IoHandlerAdapter.messageReceived(org.apache.mina.core.session.IoSession, java.lang.Object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |