fr.dyade.aaa.agent

Class 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(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.

Method Details

init

public static void init(String args,
                        boolean firstTime)
            throws Exception
Initializes the package as a well known service.

Creates a HttpDebug proxy.

Parameters:
args - parameters from the configuration file
firstTime - 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