openlsd.network.server.LSDMsgPutHandler Class Reference

Inheritance diagram for openlsd.network.server.LSDMsgPutHandler:

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

Collaboration graph
[legend]

List of all members.


Detailed Description

Handler for Put Message

Author:
Frederic Bregier LGPL

Public Member Functions

void handleMessage (IoSession arg0, LSDMsgPut 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, LSDMsgPut arg1) throws Exception

Member Function Documentation

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

Handle Put Message in Acknowledge model

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

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

Clean the session after the session becomes idle and is going to stop or after close from client.

Parameters:
ls 

void openlsd.network.server.LSDMsgPutHandler.handleMessage ( IoSession  arg0,
LSDMsgPut  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.LSDMsgPutHandler.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: