openlsd.network.client.move
Class LSDClientMoveSessionHandler

java.lang.Object
  extended by org.apache.mina.common.IoHandlerAdapter
      extended by openlsd.network.client.common.LSDClientCommonSessionHandler
          extended by openlsd.network.client.move.LSDClientMoveSessionHandler
All Implemented Interfaces:
org.apache.mina.common.IoHandler

public class LSDClientMoveSessionHandler
extends LSDClientCommonSessionHandler

This LSDClientMoveSessionHandler is the main class for the client part (Move).

Author:
Frederic Bregier LGPL

Constructor Summary
LSDClientMoveSessionHandler()
           
 
Method Summary
protected  boolean messageClear(org.apache.mina.common.IoSession session, java.lang.Object arg1)
          Clear the message sent from memory.
protected  void messageRun(org.apache.mina.common.IoSession session, LSDMsgAnswear lma)
          When a message is received, call the message function according to the kind of message.
 
Methods inherited from class openlsd.network.client.common.LSDClientCommonSessionHandler
exceptionCaught, messageReceived, messageSent, sessionClosed, sessionFinished, sessionIdle
 
Methods inherited from class org.apache.mina.common.IoHandlerAdapter
sessionCreated, sessionOpened
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LSDClientMoveSessionHandler

public LSDClientMoveSessionHandler()
Method Detail

messageRun

protected void messageRun(org.apache.mina.common.IoSession session,
                          LSDMsgAnswear lma)
When a message is received, call the message function according to the kind of message.

Specified by:
messageRun in class LSDClientCommonSessionHandler
lma - Message from server
See Also:
LSDClientCommonSessionHandler.messageRun(org.apache.mina.common.IoSession, openlsd.network.common.message.LSDMsgAnswear)

messageClear

protected boolean messageClear(org.apache.mina.common.IoSession session,
                               java.lang.Object arg1)
Clear the message sent from memory.

Specified by:
messageClear in class LSDClientCommonSessionHandler
Returns:
True if the message is correctly found, else False.
See Also:
LSDClientCommonSessionHandler.messageClear(org.apache.mina.common.IoSession, java.lang.Object)