openlsd.network.server.LSDMsgGetHandler Class Reference

Inheritance diagram for openlsd.network.server.LSDMsgGetHandler:

Inheritance graph
[legend]
Collaboration diagram for openlsd.network.server.LSDMsgGetHandler:

Collaboration graph
[legend]

List of all members.


Detailed Description

Handler for Get Message
Author:
Frederic Bregier LGPL

Public Member Functions

void handleMessage (IoSession arg0, LSDMsgGet arg1) throws Exception
void exceptionCaught (IoSession session, Throwable arg1) throws Exception

Static Protected Member Functions

static void cleanIdleSession (LSDServerSession ls)

Private Member Functions

void messageReceived (IoSession session, LSDMsgGet arg1) throws Exception

Member Function Documentation

void openlsd.network.server.LSDMsgGetHandler.messageReceived ( IoSession  session,
LSDMsgGet  arg1 
) throws Exception [private]

Handle Get Message in Acknowledge model

Parameters:
session the associated session
arg1 the Get message
Exceptions:
Exception 

static void openlsd.network.server.LSDMsgGetHandler.cleanIdleSession ( LSDServerSession  ls  )  [static, protected]

Clean the session after the session becomes idle and is going to stop.

Parameters:
ls 

void openlsd.network.server.LSDMsgGetHandler.handleMessage ( IoSession  arg0,
LSDMsgGet  arg1 
) throws Exception

Interface for Receive only message

Parameters:
arg0 
arg1 
Exceptions:
Exception 
See also:
org.apache.mina.handler.demux.MessageHandler.handleMessage(org.apache.mina.common.IoSession, java.lang.Object)

void openlsd.network.server.LSDMsgGetHandler.exceptionCaught ( IoSession  session,
Throwable  arg1 
) throws Exception

Close the session and, if there is an attribute, release the lock of the attribute for all blocks.

Parameters:
session 
arg1 
Exceptions:
Exception 
See also:
org.apache.mina.common.IoHandlerAdapter.exceptionCaught(org.apache.mina.common.IoSession, java.lang.Throwable)


The documentation for this class was generated from the following file: