Package com.sparshui.server
Class GestureServer
java.lang.Object
com.sparshui.server.GestureServer
- All Implemented Interfaces:
Runnable
,JmolGestureServerInterface
The main gesture server class. In the Jmol version, this server is created by
org.jmol.multitouch.sparshui.JmolSparshClientAdapter so there is no main
method.
adapted by Bob Hanson for Jmol 11/29/2009
- Author:
- Tony Ross
-
Field Summary
Fields inherited from interface org.jmol.api.JmolGestureServerInterface
HAS_CLIENT, HAS_DRIVER, OK
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
GestureServer
public GestureServer() -
GestureServer
-
-
Method Details
-
finalize
public void finalize() -
startGestureServer
public void startGestureServer()two independent threads -- one accepting multiple clients, one not.- Specified by:
startGestureServer
in interfaceJmolGestureServerInterface
-
dispose
public void dispose()- Specified by:
dispose
in interfaceJmolGestureServerInterface
-
run
public void run()Start accepting connections. -
getState
public int getState()- Specified by:
getState
in interfaceJmolGestureServerInterface
-