All Packages Class Hierarchy This Package Previous Next Index
Class PREDATOR.JCLReflector
java.lang.Object
|
+----java.lang.Thread
|
+----reflector.Reflector
|
+----PREDATOR.JCLReflector
- public class JCLReflector
- extends Reflector
This class implements a reflector object. A reflector routes socket
connections from one machine to another. These are used to permit
applets to connect to sockets on machines different from the machine
from which they were downloaded. This particular reflector is used
to reflect JCL connections to PREDATOR, which are more complicated,
since they use two socket connections: one for standard communications
and one for error communications. As a result, the reflector must snoop
on the protocol setup to read the error port and set up a new reflector
for that port.
-
ErrorConn
-
-
JCLReflector(int, ServerSite, boolean)
- Initializes a reflector to accept a connection on the supplied
service port and route it to the supplied service site.
-
main(String[])
- Starts a reflector.
-
run()
- The thread's run function.
ErrorConn
protected boolean ErrorConn
JCLReflector
public JCLReflector(int ServicePort,
ServerSite Site,
boolean ErrorConn)
- Initializes a reflector to accept a connection on the supplied
service port and route it to the supplied service site.
run
public void run()
- The thread's run function.
- Overrides:
- run in class Reflector
main
public static void main(String args[])
- Starts a reflector. The required arguments are:
- The local port on which the reflector will accept connections
- The host machine to which the socket connections will be directed
- The port number of that host which will accept socket connections
All Packages Class Hierarchy This Package Previous Next Index