fr.dyade.aaa.agent
Class AdminProxy

java.lang.Object
  extended byfr.dyade.aaa.agent.AdminProxy

public class AdminProxy
extends java.lang.Object

A AdminProxy service provides an interface to access to administration functions in running agent servers.

The AdminProxy service can be configured by the way of service argument: the TCP port number, by default this port is 8091. the number of monitor needed to handled requests.


Field Summary
static java.lang.String CONFIG
           
static java.lang.String CRASH_SERVER
           
static boolean debug
           
static java.lang.String LISTENPORT
          Property that define the TCP listen port
static java.lang.String LOG
           
static java.lang.String NBMONITOR
          Property that define the number of monitor
static java.lang.String PING
           
static java.lang.String STOP_SERVER
           
 
Method Summary
static void init(java.lang.String args, boolean firstTime)
          Initializes the package as a well known service.
static void start()
           
static void stopService()
           
 java.lang.String toString()
          Provides a string image for this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

debug

public static boolean debug

LISTENPORT

public static final java.lang.String LISTENPORT
Property that define the TCP listen port

See Also:
Constant Field Values

NBMONITOR

public static final java.lang.String NBMONITOR
Property that define the number of monitor

See Also:
Constant Field Values

STOP_SERVER

public static final java.lang.String STOP_SERVER
See Also:
Constant Field Values

CRASH_SERVER

public static final java.lang.String CRASH_SERVER
See Also:
Constant Field Values

PING

public static final java.lang.String PING
See Also:
Constant Field Values

CONFIG

public static final java.lang.String CONFIG
See Also:
Constant Field Values

LOG

public static final java.lang.String LOG
See Also:
Constant Field Values
Method Detail

init

public static void init(java.lang.String args,
                        boolean firstTime)
                 throws java.lang.Exception
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
Throws:
java.lang.Exception

start

public static void start()

stopService

public static void stopService()

toString

public java.lang.String toString()
Provides a string image for this object.



Copyright ? 2004 Scalagent - All rights reserved