MACROMEDIA FLASH MEDIA SERVER 2-CLIENT-SIDE ACTIONSCRIPT LANGUAGE REFERENCE FOR FLASH MEDIA SERVER 2 Manuale Utente Pagina 17

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 172
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 16
14
SERVER-SIDE ACTIONSCRIPT LANGUAGE REFERENCE FOR ADOBE MEDIA SERVER 5.0.1
Server-Side ActionScript Language Reference
Last updated 7/2/2013
Specifies to the server that a peer lookup request has been denied. A call to denyPeerLookup() increments the
rtmfp_lookups_deny statistic in the getServerStats()Administration API. This call also logs a message specifying
the lookup parameters.
For more information, see Filter introduction requests in the Adobe Media Server Developer’s Guide.
Availability
Flash Media Server 4.5
Parameters
tag ByteArray; The event.tag received in the lookup request.
Returns
Nothing.
application.disconnect()
application.disconnect(clientObj)
Terminates a client connection to the application. When this method is called, NetConnection.onStatus() is
invoked on the client with
info.code set to "NetConnection.Connect.Closed". The
application.onDisconnect() handler is also invoked.
Availability
Flash Communication Server 1
Parameters
clientObj A Client object indicating the client to disconnect. The object must be a Client object from the
application.clients array.
Returns
A boolean value of true if the disconnection was successful; otherwise, false.
Example
The following example calls application.disconnect() to disconnect all users from an application instance:
function disconnectAll(){
for (i=0; i < application.clients.length; i++){
application.disconnect(application.clients[i]);
}
}
application.gc()
application.gc()
Invokes the garbage collector to reclaim any unused resources for this application instance.
Availability
Flash Media Server 2
Vedere la pagina 16
1 2 ... 12 13 14 15 16 17 18 19 20 21 22 ... 171 172

Commenti su questo manuale

Nessun commento