openlsd.network.server
Class LSDMsgDelHandler

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

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

Handler for Delete Message

Author:
Frederic Bregier LGPL

Field Summary
 
Fields inherited from interface org.apache.mina.handler.demux.MessageHandler
NOOP
 
Constructor Summary
LSDMsgDelHandler()
           
 
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, LSDMsgDel arg1)
          Interface for Receive only message
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LSDMsgDelHandler

public LSDMsgDelHandler()
Method Detail

handleMessage

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

Specified by:
handleMessage in interface org.apache.mina.handler.demux.MessageHandler<LSDMsgDel>
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)