
10
Method summary for the Application object
Property summary for the Application object
Event handler summary for the Application object
Application.acceptConnection
Availability
Flash Communication Server MX.
Usage
application.acceptConnection(clientObj)
Method Description
Application.acceptConnection Accepts a connection to an application from a client.
Application.clearSharedObjects Clears all shared objects associated with the current instance.
Application.clearStreams Clears all stream objects associated with the current instance.
Application.disconnect Disconnects a client from the server.
Application.getStats Returns network statistics for the application instance.
Application.registerClass Registers or unregisters a constructor that is called during object
deserialization.
Application.registerProxy Registers a NetConnection or Client object to fulfill a method request.
Application.rejectConnection Rejects a connection to an application.
Property (read-only) Description
Application.clients An object containing a list of all clients currently connected to the application.
Application.hostname The hostname of the server for default virtual hosts, and virtual hostname for
non-default virtual hosts.
Application.name The name of an application instance.
Application.server The platform and version of the server.
Event handler Description
Application.onAppStart Invoked when the application is loaded by the server.
Application.onAppStop Invoked when the application is unloaded by the server.
Application.onConnect Invoked when a client connects to the application.
Application.onConnectAccept Invoked when a client successfully connects to the application; for use
with communication components only.
Application.onConnectReject Invoked when a client fails to connect to the application; for use with
communication components only.
Application.onDisconnect Invoked when a client disconnects from the application.
Application.onStatus Invoked when a script generates an error.
Comentarios a estos manuales