openlsd.network.server
Class LSDMsgKeepAliveSendHandler

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

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

Handler for KeepAlive Send Message

Author:
Frederic Bregier LGPL

Field Summary
 
Fields inherited from interface org.apache.mina.handler.demux.MessageHandler
NOOP
 
Constructor Summary
LSDMsgKeepAliveSendHandler()
           
 
Method Summary
 void exceptionCaught(org.apache.mina.common.IoSession session, java.lang.Throwable arg1)
          Just print the exception since it is only a KeepAlive message
 void handleMessage(org.apache.mina.common.IoSession arg0, LSDMsgKeepAlive 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

LSDMsgKeepAliveSendHandler

public LSDMsgKeepAliveSendHandler()
Method Detail

handleMessage

public void handleMessage(org.apache.mina.common.IoSession arg0,
                          LSDMsgKeepAlive arg1)
Interface for Sent only message

Specified by:
handleMessage in interface org.apache.mina.handler.demux.MessageHandler<LSDMsgKeepAlive>
Parameters:
arg0 -
arg1 -
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)
Just print the exception since it is only a KeepAlive message

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