VNCj

gnu.vnc
Class WebServer

java.lang.Object
  |
  +--gnu.vnc.WebServer
All Implemented Interfaces:
Runnable

public class WebServer
extends Object
implements Runnable

Extremely simple HTTP server for serving the VNC viewer applet.


Nested Class Summary
private  class WebServer.WebServerSocket
           
 
Field Summary
private static String[] allowed
           
private  int display
           
private  int height
           
private static String serverName
           
private  String title
           
private  URL url
           
private  int width
           
 
Constructor Summary
WebServer(int display, String title, int width, int height)
           
 
Method Summary
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

display

private int display

title

private String title

height

private int height

width

private int width

url

private URL url

serverName

private static String serverName

allowed

private static String[] allowed
Constructor Detail

WebServer

public WebServer(int display,
                 String title,
                 int width,
                 int height)
Method Detail

run

public void run()
Specified by:
run in interface Runnable

VNCj