MACROMEDIA FLASH MEDIA SERVER 2-SERVER MANAGEMENT ACTIONSCRIPT LANGUAGE Manuale Utente Pagina 10

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 155
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 9
ADOBE FLASH MEDIA INTERACTIVE SERVER
Server-Side ActionScript Language Reference
7
Property summary
Method summary
Event handler summary
Property Description
application.allowDebug A boolean value that lets administrators access an application with the Administration
API approveDebugSession() method (true) or not (false).
application.clients Read-only; an Array object containing a list of all the clients connected to an application.
application.config Provides access to properties of the ApplicationObject element in the Applica-
tion.xml configuration file.
application.hostname Read-only; the host name of the server for default virtual hosts; the virtual host name for
all other virtual hosts.
application.name Read-only; the name of the application instance.
application.server Read-only; the platform and version of the server.
Method Description
application.acceptConnection() Accepts a connection call from a client to the server.
application.broadcastMsg() Broadcasts a message to all clients connected to an application instance.
application.clearSharedObjects() Deletes persistent shared objects files (FSO files) specified by the soPath parameter and
clears all properties from active shared objects (persistent and nonpersistent).
application.clearStreams() Clears recorded streams files associated with an application instance.
application.disconnect() Terminates a client connection to the application.
application.gc() Invokes the garbage collector to reclaim any unused resources for this application
instance.
application.getStats() Returns statistics about an application.
application.redirectConnection() Rejects a connection and provides a redirect URL.
application.registerClass() Registers a constructor function that is used when deserializing an object of a certain
class type.
application.registerProxy() Maps a method call to another function.
application.rejectConnection() Rejects the connection call from a client to the server.
application.shutdown() Unloads the application instance.
Event handler Description
application.onAppStart() Invoked when the server loads an application instance.
application.onAppStop() Invoked when the server is about to unload an application instance.
application.onConnect() Invoked when NetConnection.connect() is called from the client.
application.onConnectAccept() Invoked when a client successfully connects to an application; for use with version 2
components only.
application.onConnectReject() Invoked when a connection is rejected in an application that contains components.
application.onDisconnect() Invoked when a client disconnects from an application.
Vedere la pagina 9
1 2 ... 5 6 7 8 9 10 11 12 13 14 15 ... 154 155

Commenti su questo manuale

Nessun commento