PreviousNextUpFAQ Table of Contents

COM.volano.Status

COM.volano.Status captures real time status reports from the VolanoChat server. Before you use the Status module, you need to first set a password for admin.password in your properties.txt file. (For more information, see Server Properties (4.2))

SYNOPSIS

java COM.volano.Status [ options ]

DESCRIPTION

COM.volano.Status makes a network connection to the VolanoChat server and requests it to generate status reports at a regular interval. It formats and prints each status report received. See the Status Reports section for a complete description on how to modify the report formats.

Note that to find the Java class file, COM/volano/Status.class, you'll need either to have no CLASSPATH defined or to have the current working directory (".") included in the definition of your CLASSPATH environment variable.

OPTIONS

file
Specifies the path to the VolanoChat server properties file which defines the applications's configuration. If no file is specified, the application looks for its properties in a file called properties.txt in the current working directory.

APPLICATION PROPERTIES

The following properties are read by the status application from the VolanoChat server properties file:

server.host
specifies the name of the host running the VolanoChat server.
admin.port
specifies the port number at which the administrative subsystem of the VolanoChat server accepts administrative connections.
admin.password
defines the password required to make an administrator connection to the VolanoChat server.
status.interval
specifies the interval at which to receive the status reports.
format.date
gives the date format template to be used in formatting time stamps for the status reports.
format.status
gives the message format template to be used in formatting the status report messages.
format.status.memory
gives the message format template to be used in formatting the heap memory usage part of the status report.

ENVIRONMENT VARIABLES

CLASSPATH
Used to provide the system a path to user-defined classes. Directories are separated by semicolons on Windows and colons on UNIX. For example, on UNIX you might have:
.:/usr/java1.1/lib/classes.zip
while on Windows, you might specify:
.;C:\jdk1.1.7\lib\classes.zip

SEE ALSO


PreviousNextUpFAQ Check HTML Table of Contents