Public Member Functions | |
BatchServer (EventEngine theEventEngine) | |
void | registerBatchEventHandlers (List< BatchedEventHandler > batchEventHandlers) |
void | stopDaemon () |
Tell the server to stop sending actions. | |
void | unregisterBatchEventHandlers (List< BatchedEventHandler > batchEventHandlers) |
Static Public Attributes | |
static final int | DEFAULT_PLAINTEXT_PORT = Constants.Ports.BATCH_SERVER |
Will listen on this port for text commands. | |
static final String | EXIT_COMMAND = "[[exit]]" |
Tells the server that a client wishes to exit. |
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.
Definition at line 37 of file BatchServer.java.
BatchServer | ( | EventEngine | theEventEngine | ) |
eventEngine |
Definition at line 86 of file BatchServer.java.
References BatchServer.DEFAULT_PLAINTEXT_PORT.
void registerBatchEventHandlers | ( | List< BatchedEventHandler > | batchEventHandlers | ) |
batchEventHandlers |
Definition at line 222 of file BatchServer.java.
Referenced by PaperToolkit.startApplication().
void unregisterBatchEventHandlers | ( | List< BatchedEventHandler > | batchEventHandlers | ) |
batchEventHandlers |
Definition at line 247 of file BatchServer.java.
Referenced by PaperToolkit.stopApplication().
final String EXIT_COMMAND = "[[exit]]" [static] |
Tells the server that a client wishes to exit.
Closes the client's handler.
Definition at line 47 of file BatchServer.java.