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 serverHttpProxy.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.
Method Summary |
static void |
init(java.lang.String args,
boolean firstTime)
Initializes the package as a well known service. |
static void |
startService()
|
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 |
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 HttpDebug
proxy.
- Parameters:
args
- parameters from the configuration filefirstTime
- true
when service starts anew
- Throws:
java.lang.Exception
startService
public static void startService()
stopService
public static void stopService()
toString
public java.lang.String toString()
- Provides a string image for this object.
Copyright ? 2004 Scalagent - All rights reserved