fr.dyade.aaa.agent

Class 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 String
CONFIG
static String
CRASH_SERVER
static String
LISTENPORT
Property that define the TCP listen port
static String
LOG
static String
NBMONITOR
Property that define the number of monitor
static String
PING
static String
STOP_SERVER
static boolean
debug

Method Summary

static void
init(String args, boolean firstTime)
Initializes the package as a well known service.
static void
start()
static void
stopService()
String
toString()
Provides a string image for this object.

Field Details

CONFIG

public static final String CONFIG


CRASH_SERVER

public static final String CRASH_SERVER


LISTENPORT

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


LOG

public static final String LOG


NBMONITOR

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


PING

public static final String PING


STOP_SERVER

public static final String STOP_SERVER


debug

public static boolean debug

Method Details

init

public static void init(String args,
                        boolean firstTime)
            throws 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


start

public static void start()


stopService

public static void stopService()


toString

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


Copyright B) 2004 Scalagent - All rights reserved