Differences between revisions 14 and 20 (spanning 6 versions)
Revision 14 as of 2011-12-29 14:45:56
Size: 1098
Editor: hercules64
Comment:
Revision 20 as of 2026-06-20 10:08:13
Size: 0
Editor: pyta
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Příkazy Distributora =

Příkazy budou implementovány jako [[http://frnk.lightcomp.cz/docs/tahiti6/pg-dep2/content/ch04.html#frame0_remoteFcv|RemoteFunction]] (volání pomocí metody callFunction). Parametry a navratové hodnoty budou zakódovány ve formátu JSON.

== getActiveUsers ==

Funkce getActiveUsers vrátí seznam všech připojených uživatelů. Návratovou hodnotou je pole jednotlivých uživatelů.

{{{
Method signature

 [] getActiveUsers()
}}}

{{{
Object representing one user

{
"user":string,
"client":string,
"version"":string,
"ip":string,
"start":string
}

}}}

|| Atribut || Význam ||
|| user || uživatelské jméno ||
|| client || název klientské aplikace (viz. [[http://frnk.lightcomp.cz/docs/tahiti6/pg-dep2/content/ch04.html#frame0_hello|Hello]] v protokolu)||
|| version || verze klientské aplikace (viz. [[http://frnk.lightcomp.cz/docs/tahiti6/pg-dep2/content/ch04.html#frame0_hello|Hello]] v protokolu)||
|| ip || ip adresa odkud je uživatel připojen ||
|| start || čas, kdy se uživatel připojil YYYYMMDDHHmmss||