| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
sock |
Socket | Client socket connection | ||||||||||||
id |
number | Client ID given by the Coraline server | ||||||||||||
coraline |
Object |
Coraline.toObject object
|
Extends
Members
-
Remote Coraline Info
-
Client ID
-
Query ID Counter
-
qmanager EventEmitter
-
Query event manager
-
Query container object
-
SocketIO connection
Methods
-
Emits a message to the server
Name Type Description signalString Signal to emit argsAny repeatable Arguments to send -
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 -
Makes a query to the server
Name Type Description signalString Signal to emit ...argsAny repeatable Arguments to send -
Emits a resolve signal to the server
Name Type Description iidnumber Query ID ...argsAny repeatable Arguments to response -
Runs a query and deletes it from the query pool
Name Type Description iidnumber Query ID ...argsAny repeatable Arguments to pass to the function