fr.dyade.aaa.agent.AdminProxy Class Reference

Collaboration diagram for fr.dyade.aaa.agent.AdminProxy:

Collaboration graph
[legend]
List of all members.

Public Member Functions

String toString ()

Static Public Member Functions

static void init (String args, boolean firstTime) throws Exception
static void start ()
static void stopService ()

Static Public Attributes

static boolean debug = true
static final String LISTENPORT = "fr.dyade.aaa.agent.AdminProxy.port"
static final String NBMONITOR = "fr.dyade.aaa.agent.AdminProxy.nbm"
static final String STOP_SERVER = "halt"
static final String CRASH_SERVER = "crash"
static final String PING = "ping"
static final String CONFIG = "config"
static final String LOG = "log"

Package Attributes

AdminMonitor monitors [] = null
ServerSocket listen = null

Static Package Attributes

static AdminProxy proxy = null
static Logger xlogmon = null
static final String HELP = "help"
static final String NONE = ""
static final String SET_VARIABLE = "set"
static final String GET_VARIABLE = "get"
static final String GC = "gc"
static final String THREADS = "threads"
static final String LIST_MCONS = "consumers"
static final String START_MCONS = "start"
static final String STOP_MCONS = "stop"
static final String LIST_SERVICE = "services"
static final String ADD_SERVICE = "add"
static final String REMOVE_SERVICE = "remove"
static final String DUMP = "dump"

Classes

class  AdminMonitor

Detailed Description

A AdminProxy service provides a TCP service allowing remote administration of agent servers.

The AdminProxy service can be configured by the way of service argument:

Definition at line 46 of file AdminProxy.java.


Member Function Documentation

static void fr.dyade.aaa.agent.AdminProxy.init ( String  args,
boolean  firstTime 
) throws Exception [static]

Initializes the package as a well known service.

Creates a AdminProxy proxy listen on .

Parameters:
args parameters from the configuration file
firstTime true when service starts anew

Definition at line 76 of file AdminProxy.java.

References fr.dyade.aaa.agent.AdminProxy.LISTENPORT, fr.dyade.aaa.agent.AdminProxy.NBMONITOR, fr.dyade.aaa.agent.AdminProxy.proxy, fr.dyade.aaa.agent.AdminProxy.start(), and fr.dyade.aaa.agent.AdminProxy.xlogmon.

Here is the call graph for this function:

String fr.dyade.aaa.agent.AdminProxy.toString (  ) 

Provides a string image for this object.

Definition at line 194 of file AdminProxy.java.

References fr.dyade.aaa.agent.AdminProxy.monitors, and fr.dyade.aaa.agent.AdminProxy.AdminMonitor.toString().

Here is the call graph for this function:


Member Data Documentation

final String fr.dyade.aaa.agent.AdminProxy.LISTENPORT = "fr.dyade.aaa.agent.AdminProxy.port" [static]

Property that define the TCP listen port

Definition at line 53 of file AdminProxy.java.

Referenced by fr.dyade.aaa.agent.AdminProxy.init().

final String fr.dyade.aaa.agent.AdminProxy.NBMONITOR = "fr.dyade.aaa.agent.AdminProxy.nbm" [static]

Property that define the number of monitor

Definition at line 59 of file AdminProxy.java.

Referenced by fr.dyade.aaa.agent.AdminProxy.init().

AdminMonitor fr.dyade.aaa.agent.AdminProxy.monitors[] = null [package]

Hashtable that contain all Process of running AgentServer

Definition at line 63 of file AdminProxy.java.

Referenced by fr.dyade.aaa.agent.AdminProxy.start(), fr.dyade.aaa.agent.AdminProxy.stopService(), and fr.dyade.aaa.agent.AdminProxy.toString().


The documentation for this class was generated from the following file:
Generated on Tue Sep 16 16:16:11 2008 for joram by  doxygen 1.5.0