openlsd.network.server
Class LSDMsgGetNAckHandler
java.lang.Object
openlsd.network.server.LSDMsgGetNAckHandler
- All Implemented Interfaces:
- org.apache.mina.handler.demux.MessageHandler<LSDMsgGetNAck>
public class LSDMsgGetNAckHandler
- extends java.lang.Object
- implements org.apache.mina.handler.demux.MessageHandler<LSDMsgGetNAck>
Handler for Get NoAck Message
- Author:
- Frederic Bregier LGPL
Fields inherited from interface org.apache.mina.handler.demux.MessageHandler |
NOOP |
Method Summary |
protected static void |
cleanIdleSession(LSDServerSession ls)
Clean the session after the session becomes idle and is going to stop. |
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,
LSDMsgGetNAck arg1)
Interface for Receive only message |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LSDMsgGetNAckHandler
public LSDMsgGetNAckHandler()
cleanIdleSession
protected static void cleanIdleSession(LSDServerSession ls)
- Clean the session after the session becomes idle and is going to stop.
- Parameters:
ls
-
handleMessage
public void handleMessage(org.apache.mina.common.IoSession arg0,
LSDMsgGetNAck arg1)
throws java.lang.Exception
- Interface for Receive only message
- Specified by:
handleMessage
in interface org.apache.mina.handler.demux.MessageHandler<LSDMsgGetNAck>
- 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)