fr.dyade.aaa.agent
Class HttpDebug
java.lang.Object
fr.dyade.aaa.agent.HttpDebug
public class HttpDebug
extends java.lang.Object
A
HttpDebug
service provides an HTTP interface to
access to debugging functions in running agent servers.
The
HttpDebug
service needs an argument: the TCP port number.
Moreover, The
HttpDebug
service exports its connecting
parameters in a file named server
HttpProxy.cnx.
It may be accessed using a HTTP browser client.
Actually, there is only one thread running, which reads and analyses
commands from the input flow,and writes results synchronously onto the
output flow.
static void | init(String args, boolean firstTime) - Initializes the package as a well known service.
|
static void | startService()
|
static void | stopService()
|
String | toString() - Provides a string image for this object.
|
init
public static void init(String args,
boolean firstTime)
throws Exception
Initializes the package as a well known service.
Creates a
HttpDebug
proxy.
args
- parameters from the configuration filefirstTime
- true
when service starts anew
startService
public static void startService()
stopService
public static void stopService()
toString
public String toString()
Provides a string image for this object.
Copyright B) 2004 Scalagent - All rights reserved