User Guide

Application class 17
Event handler summary for the Application class
Application.acceptConnection()
Availability
Flash Communication Server MX 1.0.
Usage
application.acceptConnection(clientObj)
Parameters
clientObj A Client object; a client to accept.
Returns
Nothing.
Application.config Lets you access properties of the ApplicationObject tag
in the Application.xml configuration file.
Application.hostname Read-only; the host name of the server for default virtual
hosts, and virtual host name for non-default virtual hosts.
Application.name Read-only; the name of an application instance.
Application.server Read-only; 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 media 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.
Property Description