MACROMEDIA FLASH MEDIA SERVER 2-SERVER-SIDE ACTIONSCRIPT LANGUAGE Manuel d'utilisateur Page 72

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 240
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 71
72 Deploying Flash Media Server
For example, the following URL passes a ping command to the server:
http://myFlashMediaServer:1111/admin/ping?auser=somename&apswd=somepassword
The server sends the results back to the browser in XML format.
<?xml version="1.0" encoding="utf-8" ?>
<result>
<level>error</level>
<code>Admin.Server.Disconnect</code>
<timestamp>10/22/2003 05:31:01 PM</timestamp>
<description>FMS server down.</description>
</result>
For example, the following URL sends a getVhostStats command to the server:
http://myFlashMediaServer:1111/admin/
getVhostStats?auser=somename&apswd=somepassword&vhost="_defaultVhost_"
The following is the XML result:
<?xml version="1.0" encoding="utf-8" ?>
<result>
<level>status</level>
<code>NetConnection.Call.Success</code>
<timestamp>11/17/2003 2:52:29 PM</timestamp>
<data>
<bytes_in>0</bytes_in>
<bytes_out>3284</bytes_out>
<bw_in>0</bw_in>
<bw_out>0</bw_out>
<msg_in>0</msg_in>
<msg_out>1</msg_out>
<msg_dropped>0</msg_dropped>
<total_connects>1</total_connects>
<total_disconnects>0</total_disconnects>
<connected>1</connected>
<accepted>1</accepted>
<rejected>0</rejected>
<total_apps>1</total_apps>
<total_instances_loaded>1</total_instances_loaded>
<total_instances_unloaded>0</total_instances_unloaded>
<tunnel_bytes_in>0</tunnel_bytes_in>
<tunnel_bytes_out>0</tunnel_bytes_out>
<tunnel_requests>0</tunnel_requests>
<tunnel_responses>0</tunnel_responses>
</data>
</result>
For another example, the following URL sends a getMsgCacheStats command to the server:
http://myFlashMediaServer:1111/admin/
getMsgCacheStats?auser=somename&apswd=somepassword&vhost="_defaultVhost_
"
Vue de la page 71
1 2 ... 67 68 69 70 71 72 73 74 75 76 77 ... 239 240

Commentaires sur ces manuels

Pas de commentaire