org.apache.mina.examples.reverser
Class ReverseProtocolHandler

java.lang.Object
  extended by org.apache.mina.protocol.ProtocolHandlerAdapter
      extended by org.apache.mina.examples.reverser.ReverseProtocolHandler
All Implemented Interfaces:
org.apache.mina.protocol.ProtocolHandler

public class ReverseProtocolHandler
extends org.apache.mina.protocol.ProtocolHandlerAdapter

ProtocolHandler implementation of reverser server protocol.

Version:
$Rev: 326586 $, $Date: 2005-10-19 17:50:29 +0200 (Wed, 19 Oct 2005) $,
Author:
The Apache Directory Project (dev@directory.apache.org)

Constructor Summary
ReverseProtocolHandler()
           
 
Method Summary
 void exceptionCaught(org.apache.mina.protocol.ProtocolSession session, java.lang.Throwable cause)
           
 void messageReceived(org.apache.mina.protocol.ProtocolSession session, java.lang.Object message)
           
 
Methods inherited from class org.apache.mina.protocol.ProtocolHandlerAdapter
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

ReverseProtocolHandler

public ReverseProtocolHandler()
Method Detail

exceptionCaught

public void exceptionCaught(org.apache.mina.protocol.ProtocolSession session,
                            java.lang.Throwable cause)
Specified by:
exceptionCaught in interface org.apache.mina.protocol.ProtocolHandler
Overrides:
exceptionCaught in class org.apache.mina.protocol.ProtocolHandlerAdapter

messageReceived

public void messageReceived(org.apache.mina.protocol.ProtocolSession session,
                            java.lang.Object message)
Specified by:
messageReceived in interface org.apache.mina.protocol.ProtocolHandler
Overrides:
messageReceived in class org.apache.mina.protocol.ProtocolHandlerAdapter