openlsd.network.server
Class LSDMsgKeepAliveRecvHandler

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

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

Handler for KeepAlive Recv Message

Author:
Frederic Bregier LGPL

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

Constructor Detail

LSDMsgKeepAliveRecvHandler

public LSDMsgKeepAliveRecvHandler()
Method Detail

handleMessage

public void handleMessage(org.apache.mina.common.IoSession arg0,
                          LSDMsgKeepAlive arg1)
Interface for Receive 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)