VNCj

gnu.rfb.server
Class RFBHost

java.lang.Object
  |
  +--gnu.rfb.server.RFBHost
All Implemented Interfaces:
Runnable

public class RFBHost
extends Object
implements Runnable

Waits on a standard VNC socket and creates an RFBServer implementation for each new, authenticated client.


Field Summary
private  RFBAuthenticator authenticator
           
private  Constructor constructor
           
private  int display
           
private  String displayName
           
private  int height
           
private  RFBServer sharedServer
           
private  int width
           
 
Constructor Summary
RFBHost(int display, String displayName, Class rfbServerClass, int width, int height, RFBAuthenticator authenticator)
           
 
Method Summary
 RFBServer getSharedServer()
           
 void run()
           
 void setSharedServer(RFBServer sharedServer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

display

private int display

displayName

private String displayName

width

private int width

height

private int height

authenticator

private RFBAuthenticator authenticator

constructor

private Constructor constructor

sharedServer

private RFBServer sharedServer
Constructor Detail

RFBHost

public RFBHost(int display,
               String displayName,
               Class rfbServerClass,
               int width,
               int height,
               RFBAuthenticator authenticator)
        throws NoSuchMethodException
Method Detail

setSharedServer

public void setSharedServer(RFBServer sharedServer)

getSharedServer

public RFBServer getSharedServer()

run

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

VNCj