Download Print this page

General Development Tasks - Adobe 65024872 - InDesign CS4 - Mac Developer's Manual

Developer's guide
Hide thumbs Also See for 65024872 - InDesign CS4 - Mac:

Advertisement

In Windows, choose Start > Control Panel > Administrative Tools > Services. Select Flash Media Server
(FMS) from the Services list and click Stop.
In Linux, open a shell window and go to the directory where the server is installed: cd /opt/adobe/fms. Enter
the following: ./server stop.
Copy the compiled plug-in DLL or SO files to one of the following folders:
2
RootInstall/modules/access
RootInstall/modules/auth
RootInstall/modules/fileio
Note: Do not change the folder names. If you're deploying multiple Authorization plug-ins, copy all the plug-ins into
the /auth folder.
Do one of the following to start the server:
3
In Windows, choose Start > Control Panel > Administrative Tools > Services. Select Flash Media Server
(FMS) from the Services list and click Start.
In Linux, open a shell window and go to the directory where the server is installed: cd /opt/adobe/fms. Enter
the following: ./server start.

General development tasks

Sending data from a plug-in to a log file
Call the
function of the IFmsServerContext class in a plug-in to send your custom messages to the log files.
log()
Plug-in log files are located in the RootInstall/logs directory and are named fileio.NN.log and authMessage.NN.log,
by default.
Note: The Access plug-in does not write any log files. There are no interfaces provided by the Access plug-in for logging.
The
function has an argument that specifies whether the log message should also be logged to the system log
log()
(Windows Event Viewer or Linux syslog). The default value is false. Excessive logging to the system log can cause
performance problems.
Edit the
section of the Server.xml configuration file (located in RootInstall/conf) to enable or disable each
Logging
log file. Edit the Logger.xml file (located in RootInstall/conf) to add or change the configuration information,
including the location and name of the log files. For detailed information, see the comments in the XML files.
Note: In addition to client connections, the Authorization plug-in logs the connections made when a server-side
Stream.play()
method is called. These connections are distinguished by the IP address 127.0.0.1 in the access.log files
and in the authEvent.log files.
Retrieving data from a configuration file
Call the
function of the IFmsServerContext class in an Authorization plug-in or a File plug-in to
getConfig()
retrieve custom data stored in the Server.xml configuration file. You can analyze this data in the plug-in to activate
different functionality in the plug-in, depending on the server configuration.
ADOBE FLASH MEDIA INTERACTIVE SERVER
Plug-In Developer Guide
3

Advertisement

loading

This manual is also suitable for:

Flash media interactive server