Startserver() - MACROMEDIA FLASH MEDIA SERVER 2-SERVER MANAGEMENT ACTIONSCRIPT LANGUAGE Reference

Server management actionscript language reference
Table of Contents

Advertisement

// add child tag to a tag in default Application.xml
key = "Process";
val = "<Scope>inst</Scope>";
scope = "Adaptor:_defaultRoot_/VHost:_defaultVHost_/App";
tSocket.call("setConfig2", new onSetConfig(), key, val, scope);
// delete tag in default Application.xml
key = "Process";
val = "";
scope = "Adaptor:_defaultRoot_/VHost:_defaultVHost_/App";
tSocket.call("setConfig2", new onSetConfig(), key, val, scope);
See also
getAdminContext()

startServer()

Availability
Flash Player 6.
Flash Communication Server MX 1.0.
Usage
startServer([start_type])
Parameters
Optional; string that specifies how you want to restart the server.
start_type
If the server is not running and you want to start it, omit this parameter. If the server is
already running and you want to stop it and then restart it, you must specify
parameter. (If the server is running and you omit this parameter, this command does
nothing.)
Returns
If the call succeeds, the server sends a reply information object with a
and a
property of
status
code
If the call fails, the server sends a reply information object with a
and a
property of
code
available. Some objects might also have a
describing the cause of the failure.
68
Server Management ActionScript Language Reference
,
getConfig2()
NetConnection.Call.Success
NetConnection.Admin.Command.Failed
description
restart
property of
level
.
property of
level
or a more specific value, if
property that contains a string
for this
error

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MEDIA SERVER 2-SERVER MANAGEMENT ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash media server 2

Table of Contents