| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
sock |
Socket | SocketIO master connection | ||||||||||||
config |
Object |
Coraline Configuration Object
|
Extends
Members
-
Client pool
-
Coraline ID
-
Coraline max_clients
-
Coraline name
-
qmanager EventEmitter
-
Query EventEmitter
-
SocketIO master connection
Methods
-
Emits a broadcast signal to clients
Name Type Description signalString Signal to emit ...argsAny repeatable Arguments to send -
Returns a client with specified id
Name Type Description client_idnumber Client ID to search -
Adds a listener to a query event
Name Type Description signalString Event name to listen cbfunction Callback fired each time a query with the specified signal is received -
Resolves a query
Name Type Description idnumber Client ID iidnumber Query ID ...argsAny repeatable Arguments to send