Differences between revisions 6 and 8 (spanning 2 versions)
Revision 6 as of 2011-12-21 00:06:55
Size: 743
Editor: cst-prg-160-253
Comment:
Revision 8 as of 2011-12-21 00:15:24
Size: 812
Editor: cst-prg-160-253
Comment:
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:

{{{
Method signature

 [] getActiveUsers()
}}}
Line 27: Line 33:
|| start || čas, kdy se uživatel připojil || || start || čas, kdy se uživatel připojil YYYYMMDDHHmmss||

Příkazy Distributora

Příkazy budou implementovány jako 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. Hello)

version

verze klientské aplikace (viz. Hello)

ip

ip adresa odkud je uživatel připojen

start

čas, kdy se uživatel připojil YYYYMMDDHHmmss

DistributorCommands (last edited 2011-12-30 08:43:35 by hercules64)