Example
This example uses a
and calls the method
for (i = 0; i < application.clients.length; i++){
application.clients[i].call("serverUpdate");
}
Application.disconnect
Availability
Flash Communication Server MX.
Usage
application.disconnect(clientObj)
Parameters
The client to disconnect. The object must be a Client object from the
clientObj
application.clients
Returns
A Boolean value of
Description
Method; causes the server to terminate a client connection to the application. When this method
is called,
NetConnection.onStatus
NetConnection.Connection.Closed
invoked.
Example
This example calls the
application instance:
function disconnectAll(){
for (i=0; i < application.clients.length; i++){
application.disconnect(application.clients[i]);
}
}
Application.name
Availability
Flash Communication Server MX.
Usage
application.name
Description
Property (read-only); contains the name of the Flash Communication Server application instance.
14
loop to iterate through each member of the
for
on each client:
serverUpdate
array.
if the disconnect was successful; otherwise,
true
is invoked on the client side with a status message of
. The
application.disconnect
application.onDisconnect
method to disconnect all users of an
application.clients
.
false
method is also
array
Need help?
Do you have a question about the FLASH COMMUNICATION SERVER MX-SERVER-SIDE COMMUNICATION ACTIONSCRIPT DICTIONARY and is the answer not in the manual?