Package com.iizigo.comm
Class WebSocketServer
java.lang.Object
com.iizigo.comm.WebSocketServer
The Web Socket Server of iiziGo inside Eclipse.
- Author:
- Christopher Mindus
- Method SummaryModifier and TypeMethodDescription- void- dispose()Dispose of the server.- static WebSocketServerGets the instance of the Web Socket Server.- static PanelEditorTransactionProcessor[]Gets the list of available panel editors.- static WorkerGets the worker instance.- static booleanChecks if the server is started.- static StringRegisters a transaction processor used for device connections.- static voidUnregisters a transaction processor used for device connections.
- Method Details- getInstanceGets the instance of the Web Socket Server.- Throws:
- Throwable- For start errors.
 
- getWorkerGets the worker instance.- Parameters:
- startedCallback- Callback for started, null for none.
- Throws:
- IOException
 
- isStartedpublic static boolean isStarted()Checks if the server is started.
- registerTransactionProcessorRegisters a transaction processor used for device connections.- Parameters:
- listener- The listener for new connections.
- Returns:
- The host name and port for the browser, null for already registered or cannot start web socket.
 
- unregisterTransactionProcessorUnregisters a transaction processor used for device connections.
- getPanelEditorsGets the list of available panel editors.
- disposepublic void dispose()Dispose of the server.