7.6.1. Demon - Central Server protocol

Messages

(s) JOIN (AT, SID) - this command is used to join the session with the application

(d) COMMAND (AT, params, AID, SID) - this command is send to the demon to launch the application

(s) FINISH (AID) - command sent from the demon after an application terminates

(d)(s) EVENT (AID, contents) - message carrying information between applications

(s) RJOIN (AT, SID. remote UID) - message used to launch application on remote host

(d) RASK (AT, SID, local UID) - message to ack user on remote host if he/she wants the application to be launched

(s) RANS (AT, local UID, remote UID, SID, yes | no) - answer for RASK

(d) SUPD ( add | remove | master, SID, UID) - message updating information about virtual connection

(s) MASTER (SID) - request for master

(d) MASK (SID, UID) - request for the previous master

(s) MANS (SID, UID, yes | no) - answer from previous master

(s) LOGIN (username, passwd)

(d) LOGACC (username, UID)

(s) LOGOUT (UID)

Server actions

JOIN (AT, SID)

FINISH (AID)

EVENT (AID, contents)

RJOIN (AT, SID. remote RUID)

RANS (AT, local UID, remote RUID, SID, yes | no)

MASTER (SID)

MANS (SID, UID, yes | no)

LOGIN (username, passwd)

LOGOUT (UID)

Demon actions

COMMAND (AT, params, AID, SID)

EVENT (AID, contents)

RASK (AT, SID, UID)

SUPD ( add | remove | master, SID, UID)

MASK (SID, UID)

LOGACC (username, UID)