com.ibm.ras.server
Class RASConnectionHandler
- java.lang.Object
com.ibm.ras.server.RASConnectionHandler
All implemented interfaces:
java.lang.Runnable
Deprecated. As of WAS 6.0, recommend using java.util.logging
- public class RASConnectionHandler
- extends java.lang.Object
- implements java.lang.Runnable
RASConnectionHandler
processes individual client connections.
This thread loops continuously, writing to the console and/or file
until the client socket disconnects.
Constructor Summary
Constructor and Description |
---|
RASConnectionHandler(java.net.Socket socket,boolean toFile,java.io.PrintWriter pWriter)
Deprecated. Creates a
RASConnectionHandler .
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
run()
Deprecated. Starts the
RASConnectionHandler on its own thread.
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
RASConnectionHandler
- public RASConnectionHandler(java.net.Socket socket,
- boolean toFile,
- java.io.PrintWriter pWriter)
Deprecated.
Parameters:
socket
- The socket on which to listen. toFile
- true
to write the data to a file;
false
, otherwise. pWriter
- The PrintWriter
to use. Method Detail
run
- public void run()
Deprecated.
Starts the
RASConnectionHandler
on its own thread.
Specified by:
run
in interface java.lang.Runnable
RASConnectionHandler
.