public class RASLogServer
extends java.lang.Object
implements java.lang.Runnable
RASLogServer works in tandem with the
RASSocketHandler class. It is run as a
Java application on a server. It binds to a socket, listening and
accepting connections from instances of RASSocketHandler.
Once a connection is established between the RASLogServer
and a client, log data is sent from the client to the
RASLogServer, where it is displayed on the console and,
optionally, written to a file.
Usage:
java com.ibm.ras.server.RASLogServer [port] [filename]The default port for the
RASLogServer process is 9991.
If filename is specified, the output is also written to
the file.| Constructor and Description |
|---|
RASLogServer(int port,
java.lang.String filename)
Deprecated.
Creates a
RASLogServer. |
public RASLogServer(int port,
java.lang.String filename)
RASLogServer.port - The port on which the RASLogServer listens.filename - The name of the file to which the log data will be
appended. If this is null, the data is
only written to the console.public static void main(java.lang.String[] args)
RASLogServer application.port - The port on which the RASLogServer listens.filename - The name of the file to which the log data will be
appended. If this is null, the data is
only written to the console.public void run()
RASLogServer on its own thread.run in interface java.lang.Runnable