|
||||||||||
| 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.reverser.ReverseProtocolHandler
public class ReverseProtocolHandler
IoHandler implementation of reverser server protocol.
| Constructor Summary | |
|---|---|
ReverseProtocolHandler()
|
|
| Method Summary | |
|---|---|
void |
exceptionCaught(IoSession session,
java.lang.Throwable cause)
Invoked when any exception is thrown by user IoHandler
implementation or by MINA. |
void |
messageReceived(IoSession session,
java.lang.Object message)
Invoked when a message is received. |
| Methods inherited from class org.apache.mina.core.service.IoHandlerAdapter |
|---|
messageSent, sessionClosed, sessionCreated, sessionIdle, sessionOpened |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReverseProtocolHandler()
| Method Detail |
|---|
public void exceptionCaught(IoSession session,
java.lang.Throwable cause)
IoHandlerIoHandler
implementation or by MINA. If cause is an instance of
IOException, MINA will close the connection automatically.
exceptionCaught in interface IoHandlerexceptionCaught in class IoHandlerAdapter
public void messageReceived(IoSession session,
java.lang.Object message)
IoHandler
messageReceived in interface IoHandlermessageReceived in class IoHandlerAdapter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||