18 lines
537 B
JavaScript
18 lines
537 B
JavaScript
|
|
/**
|
||
|
|
* Check if command's session id does not match with active session
|
||
|
|
* @param {string} sessionId
|
||
|
|
*/
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Intercept and handle StartSession commands, because they are more of a pain to do with the component system
|
||
|
|
* @param data
|
||
|
|
*/
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Reconnect an existing session or create a new one.
|
||
|
|
* New sessions rely on the pending session command supplied by checkSessionCommand
|
||
|
|
*/
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Called in case of disconnection, determines if a session restore is possible
|
||
|
|
*/
|