All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class reflector.Reflector

java.lang.Object
   |
   +----java.lang.Thread
           |
           +----reflector.Reflector

public class Reflector
extends Thread
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.


Variable Index

 o ServicePort
 o Site

Constructor Index

 o Reflector(int, ServerSite)
Initializes a reflector to accept a connection on the supplied service port and route it to the supplied service site.

Method Index

 o main(String[])
 o run()
The thread's run function.

Variables

 o ServicePort
 protected int ServicePort
 o Site
 protected ServerSite Site

Constructors

 o Reflector
 public Reflector(int ServicePort,
                  ServerSite Site)
Initializes a reflector to accept a connection on the supplied service port and route it to the supplied service site.

Methods

 o run
 public void run()
The thread's run function.

Overrides:
run in class Thread
 o main
 public static void main(String args[])

All Packages  Class Hierarchy  This Package  Previous  Next  Index