Title here
Summary here
AbstractKind: global abstract class
Extends: Abstract
Service:
Properties
| Name | Type | Description |
|---|---|---|
| port | number | WebSocket server port |
| uniqueClientId | number | |
| uniqueClientIdBase | String |
AbstractService core which handles and dispatches WebSocket (i.e. real-time bidirectional communication) messages.
Kind: instance method of AbstractSocketServerService
| Param | Type |
|---|---|
| webSocketClient | WebSocket |
Send a message
Kind: instance method of AbstractSocketServerService
| Param | Type | Description |
|---|---|---|
| clientId | string | |
| message | Object | |
| [options] | Object | Some options... |
Implementation of the on server connection method
Kind: instance abstract method of AbstractSocketServerService
Access: protected
| Param | Type | Description |
|---|---|---|
| clientId | String | WebSocket client id |
| webSocketClient | WebSocket |
Implementation to send a message
Kind: instance abstract method of AbstractSocketServerService
Access: protected
| Param | Type | Description |
|---|---|---|
| clientId | string | |
| message | Object | |
| [options] | Object | Some options... |