|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ras.server.RASConnectionHandler
RASConnectionHandler
processes individual client connections.
This thread loops continuously, writing to the console and/or file
until the client socket disconnects.
Constructor Summary | |
RASConnectionHandler(java.net.Socket socket,
boolean toFile,
java.io.PrintWriter pWriter)
Creates a RASConnectionHandler . |
Method Summary | |
void |
run()
Starts the RASConnectionHandler on its own thread. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public RASConnectionHandler(java.net.Socket socket, boolean toFile, java.io.PrintWriter pWriter)
RASConnectionHandler
.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 |
public void run()
RASConnectionHandler
on its own thread.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |