org.apache.mina.examples.echoserver
Class EchoProtocolHandler

java.lang.Object
  extended by IoHandlerAdapter
      extended by org.apache.mina.examples.echoserver.EchoProtocolHandler

public class EchoProtocolHandler
extends IoHandlerAdapter

IoHandler implementation for echo server.

Version:
$Rev: 168570 $, $Date: 2005-05-06 17:28:42 +0900 (금, 06 5월 2005) $,
Author:
Trustin Lee (trustin@apache.org)

Constructor Summary
EchoProtocolHandler()
           
 
Method Summary
 void dataRead(IoSession session, ByteBuffer rb)
           
 void exceptionCaught(IoSession session, java.lang.Throwable cause)
           
 void sessionCreated(IoSession session)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EchoProtocolHandler

public EchoProtocolHandler()
Method Detail

sessionCreated

public void sessionCreated(IoSession session)

exceptionCaught

public void exceptionCaught(IoSession session,
                            java.lang.Throwable cause)

dataRead

public void dataRead(IoSession session,
                     ByteBuffer rb)