|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.stanford.hci.r3.pen.batch.BatchServer
public class BatchServer
Wait at a socket (say: 9999) and receive the location of xml files that contain data from a pen synch action (the user drops the pen into the dock). Then, process them and call any event handlers you have registered at runtime. Additionally, translate the batched data into streaming coordinates, and pass these events as if they happened in real time over to the event engine.
This software is distributed under the BSD License.
Field Summary | |
---|---|
static int |
DEFAULT_PLAINTEXT_PORT
Will listen on this port for text commands. |
static java.lang.String |
EXIT_COMMAND
Tells the server that a client wishes to exit. |
Constructor Summary | |
---|---|
BatchServer(EventEngine theEventEngine)
|
Method Summary | |
---|---|
void |
registerBatchEventHandlers(java.util.List<BatchedEventHandler> batchEventHandlers)
|
void |
stopDaemon()
Tell the server to stop sending actions. |
void |
unregisterBatchEventHandlers(java.util.List<BatchedEventHandler> batchEventHandlers)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_PLAINTEXT_PORT
public static final java.lang.String EXIT_COMMAND
Constructor Detail |
---|
public BatchServer(EventEngine theEventEngine)
eventEngine
- Method Detail |
---|
public void registerBatchEventHandlers(java.util.List<BatchedEventHandler> batchEventHandlers)
batchEventHandlers
- public void stopDaemon()
public void unregisterBatchEventHandlers(java.util.List<BatchedEventHandler> batchEventHandlers)
batchEventHandlers
-
|
Copyright 2006 Stanford University | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |