MACROMEDIA FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE Manuale Utente Pagina 75

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 240
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 74
About configuration levels 75
When you use the server management API over HTTP, the arguments for each command
must be named. This is different from ActionScript, where the arguments are not named
because the meaning of each argument is determined by the order in which it is passed to the
command.
For instance, the syntax for the
addAdmin command is as follows:
:/admin/
addAdmin?auser=adminname&apswd=adminpassword&username="joe"&password="
axbycz"&vhost="_defaultRoot_/foo.myCompany.com"
The syntax for the gc command is as follows:
/admin/gc?auser=adminname&apswd=adminpassword
The following table lists the names of the arguments for each command. Remember that the
admin user name and admin password are required for every command.
Command Required
arguments
Optional
arguments
Sample URL
addAdmin username,
password
scope /admin/
addAdmin?username="joe"&pas
sword="axbycz"&vhost="_defaul
tRoot_/foo.myCompany.com"
addApp appName n/a /admin/
addApp?appName="app1"
addVHostAlias vhost/
vhostName,
alias/
aliasName,
persist
n/a /admin/
addVHostAlias?vhost="_default
VHost_"&alias="www.somealias.
com"&persist=false
approveDebugSession appInst,
debugPIN
n/a /admin/
approveDebugSession?appNa
me="app1/
inst1"&debugPIN="1234"
broadcastMsg scope,
method
arg0, arg1,
arg2 ...
/admin/
broadcastMsg?scope="App:my
App"&method="myMethod"&ar
g0="foo"&arg1="bar"
changePswd username,
password
scope /admin/
broadcastMsg?username="admi
n1"&password="nimda1"&scope
="_defaultRoot_/
foo.macromedia.com"
Vedere la pagina 74
1 2 ... 70 71 72 73 74 75 76 77 78 79 80 ... 239 240

Commenti su questo manuale

Nessun commento