openlsd.network.server.LSDMsgAdminHandler Class Reference

Inheritance diagram for openlsd.network.server.LSDMsgAdminHandler:

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

Collaboration graph
[legend]

List of all members.


Detailed Description

Handler for Admin Message

Author:
Frederic Bregier LGPL

Public Member Functions

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

Private Member Functions

void messageReceived (IoSession session, LSDMsgAdmin arg1) throws Exception

Member Function Documentation

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

Handler for SHUTDOWN, SHUTDOWNIMMEDIATE, RESTART, START, STOP, ENABLE, DISABLE commands.

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

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