All Packages Class Hierarchy
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
Index of all Fields and Methods
- BUFFER_SIZE.
Static variable in class SRWorker
- Size of buffer.
- collName.
Variable in class SRMain
- The name of the data collection host.
- collPort.
Variable in class SRMain
- The port number for connecting to the data collection host.
- DEFAULT_PORT.
Static variable in class SRMain
- The default data collection port number.
- dispPort.
Variable in class SRMain
- The port number for the display program to connect to.
- done.
Variable in class SRMain
- A flag for halting the socket relay.
- done.
Variable in class SRWorker
- Flag indicating whether the worker is done.
- instance.
Static variable in class SRWorker
- A counter to keep track of how many workers are created.
- inStream.
Variable in class SRWorker
- An input stream associated with a socket to the
data collection source.
- main(String[]).
Static method in class SocketRelay
- Main line code.
- outStream.
Variable in class SRWorker
- An output stream associated with the output socket
provided by the SRMain object.
- parseArgs(String[]).
Method in class SRMain
- Parse the command-line arguments.
- run().
Method in class SRMain
- Main line code for socket relay.
- run().
Method in class SRWorker
- Main line code for socket relay.
- serial.
Variable in class SRWorker
- A serial number used in debugging.
- servSocket.
Variable in class SRMain
- A socket for listening for connections from the display process.
- SocketRelay().
Constructor for class SocketRelay
-
- SRMain(String[]).
Constructor for class SRMain
- Constructs a main thread for the socket relay.
- SRWorker(Socket, String, int).
Constructor for class SRWorker
- Constructs a socket relay worker.