Innov-AI     Services     Supporters     Contact     About    
Session

You have control functions of web socket session.
You have control functions of database session.

WS Session

@chat@cmdid@count sessions@sessions@sid

DB Session

byecmdidcount sessionsexithelpquitsessionssid@pidwho

@chat


Description

    To change the mode to CHAT.

admin
@chat
mentdb
CHAT mode activated (do not use directly with the editor, only in your application with the web socket driver).

@cmdid


Description

    To show the number of web socket command executed by the current user

admin
@cmdid
mentdb
5

@count sessions


Description

    To count all open web socket sessions

admin
@count sessions
mentdb
1

@sessions


Description

    To show open web socket sessions

admin
@sessions
mentdb
[<br> {<br> "maxUsable": 600,<br> "nbExecution": 5,<br> "id": 2,<br> "used": 0,<br> "user": "admin",<br> "life": "0/600s"<br> }<br>]

@sid


Description

    To show current web socket session id

admin
@sid
mentdb
3

bye


Description

    To close the session (or exit or quit)

admin
bye
mentdb
Session close with successful.

cmdid


Description

    To show the number of commands executed by the current user

admin
cmdid
mentdb
25

count sessions


Description

    To count all open sessions

admin
count sessions
mentdb
3

exit


Description

    To close the session (or bye or quit)

admin
exit
mentdb
Session close with successful.

help


Description

    To show this help menu

quit


Description

    To close the session (or exit or quit)

admin
quit
mentdb
Session close with successful.

sessions


Description

    To show all open sessions

admin
sessions
mentdb
[<br> {<br> "maxUsable": 600,<br> "nbExecution": 2,<br> "used": 0,<br> "id": 4,<br> "user": "admin",<br> "life": "0/600s"<br> }<br>]

sid


Description

    To show current session id

admin
sid
mentdb
5

@pid


Description

    To show current Java PID

admin
pid
mentdb
5423

who


Description

    To show the current user

admin
who
mentdb
admin




© 2012 - 2023