openlsd.network.server
Class LSDMsgAnswearHandler

java.lang.Object
  extended by openlsd.network.server.LSDMsgAnswearHandler
All Implemented Interfaces:
org.apache.mina.handler.demux.MessageHandler<LSDMsgAnswear>

public class LSDMsgAnswearHandler
extends java.lang.Object
implements org.apache.mina.handler.demux.MessageHandler<LSDMsgAnswear>

Handler for Delete Message

Author:
Frederic Bregier LGPL

Field Summary
 
Fields inherited from interface org.apache.mina.handler.demux.MessageHandler
NOOP
 
Constructor Summary
LSDMsgAnswearHandler()
           
 
Method Summary
 void exceptionCaught(org.apache.mina.common.IoSession session, java.lang.Throwable arg1)
          Close the session and, if there is an attribute, release the lock of the attribute for all blocks.
 void handleMessage(org.apache.mina.common.IoSession arg0, LSDMsgAnswear arg1)
          Interface for Sent only message
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LSDMsgAnswearHandler

public LSDMsgAnswearHandler()
Method Detail

handleMessage

public void handleMessage(org.apache.mina.common.IoSession arg0,
                          LSDMsgAnswear arg1)
                   throws java.lang.Exception
Interface for Sent only message

Specified by:
handleMessage in interface org.apache.mina.handler.demux.MessageHandler<LSDMsgAnswear>
Parameters:
arg0 -
arg1 -
Throws:
java.lang.Exception
See Also:
MessageHandler.handleMessage(org.apache.mina.common.IoSession, java.lang.Object)

exceptionCaught

public void exceptionCaught(org.apache.mina.common.IoSession session,
                            java.lang.Throwable arg1)
                     throws java.lang.Exception
Close the session and, if there is an attribute, release the lock of the attribute for all blocks.

Parameters:
session -
arg1 -
Throws:
java.lang.Exception
See Also:
IoHandlerAdapter.exceptionCaught(org.apache.mina.common.IoSession, java.lang.Throwable)