Class VNCWebServer
java.lang.Object
javaforce.awt.VNCWebServer
- All Implemented Interfaces:
WebUIHandler
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclientConnected(WebUIClient client) Invoked when a client connects for initvoidclientDisconnected(WebUIClient client) Invoked when a client disconnects for cleanupgetPanel(String name, HTTP.Parameters params, WebUIClient client) Returns a root panel for a new client.byte[]getResource(String url, HTTP.Parameters params, WebResponse res) Returns raw resources from /static/...voidstart(int port, int secure_port) voidstop()
-
Field Details
-
secure_server
-
server
-
-
Constructor Details
-
VNCWebServer
public VNCWebServer()
-
-
Method Details
-
start
public void start(int port, int secure_port) -
stop
public void stop() -
getPanel
Description copied from interface:WebUIHandlerReturns a root panel for a new client.- Specified by:
getPanelin interfaceWebUIHandler
-
getResource
Description copied from interface:WebUIHandlerReturns raw resources from /static/...- Specified by:
getResourcein interfaceWebUIHandler
-
clientConnected
Description copied from interface:WebUIHandlerInvoked when a client connects for init- Specified by:
clientConnectedin interfaceWebUIHandler
-
clientDisconnected
Description copied from interface:WebUIHandlerInvoked when a client disconnects for cleanup- Specified by:
clientDisconnectedin interfaceWebUIHandler
-