Class
Server specific runtime settings. Base Class: Preference
addEventListener, getElements, removeEventListener, toSource, toSpecifier
ServerSetting
QuickLinks
Hierarchy
Properties
Property | Type | Access | Description |
---|---|---|---|
adminPort | number | readonly | The socket the server uses to service administrative requests. |
configuration | string | readonly | The configuration name for this instance of the server. |
eventListeners | EventListeners EventListener | readonly | A collection of event listeners. |
events | Events Event | readonly | A collection of events. |
heartbeatUpdateInterval | number | readonly | The time interval (in seconds) at which last active timestamp of IDS is updated to IDS console app. |
hostName | string | readonly | The name of the machine InDesignServer is running on; either symbolic (host.corp.com) or IPv4 address (123.345.678.90). |
imagePreview | bool | r/w | If true, generates image previews. |
iorFile | File | readonly | Location to write the IOR file for CORBA. |
isValid | bool | readonly | Returns true if the object specifier resolves to valid objects. |
javascriptUi | bool | r/w | If true, makes the native JavaScript user interface available. |
maximumErrors | number | r/w | Maximum number of errors to save. |
onMainThreadOnly | bool | readonly | If true, client requests are executed on main thread only. |
parent | Application | readonly | The parent of the ServerSetting (a Application). |
pluginPaths | Array of File | readonly | Additional paths from which to load plugins. |
port | number | readonly | The socket the server uses to service SOAP requests. |
properties | Object | r/w | A property that allows setting of several properties at the same time. |
sendCrashLogs | bool | readonly | If true, send crash log data to Adobe. |
sessionSupportLoggingEnabled | bool | readonly | If true, session support logging is enabled. |
sessionTimeout | number | readonly | The session timeout (in seconds) for soap sessions. |
useConsole | bool | readonly | If true, output is going to a console window. |
useErrorList | bool | r/w | If true, errors are saved in the error list. |
useEventLog | bool | readonly | If true, output is redirected to the system event log. |
useStructuredEventHandler | bool | readonly | If true, install structured event handler. |
Methods
Instances
EventListener addEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Adds an event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The event type. |
handler | File JavaScript Function | The event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
Array of ServerSetting getElements ()
Resolves the object specifier, creating an array of object references.
bool removeEventListener (eventType:
string, handler:
varies[, captures:
bool=false])
Removes the event listener.
Parameter | Type | Description |
---|---|---|
eventType | string | The registered event type. |
handler | File JavaScript Function | The registered event handler. Can accept: File or JavaScript Function. |
captures | bool | This parameter is obsolete. (Optional) (default: false) |
string toSource ()
Generates a string which, if executed, will return the ServerSetting.
Element of
Application.serverSettings
Return
Array of ServerSetting ServerSetting.getElements ()
Jongware, 28-Apr-2012 v3.0.3i | Contents :: Index |