IJavaScriptDispatcherConfiguration

Overview

The IJavaScriptDispatcherConfiguration interface is used by the Remoting SDK Server Configuration System to represent requested server message(s) configuration. There is no need to implement this interface in the user code unless the server configuration should be loaded from other source (f.e. database) or in different format than are used by default.

Location

Implemented in

Properties


DefaultFile

Gets the name of the file that is sent to the client when it tries to list folder contents (ie tries to access the server without providing requested file name).

 

property DefaultFile: String read;

 

String DefaultFile { get; }

 

Property ReadOnly DefaultFile As String

Enabled

Gets the flag indicating whether JavaScript Dispatcher itself should be enabled or not.

 

property Enabled: Boolean read;

 

Boolean Enabled { get; }

 

Property ReadOnly Enabled As Boolean

Folder

Gets the name of the folder used to provide resources to the JavaScript Dispatcher in case the ServeFilesFromFolder option is set to true.

 

property Folder: String read;

 

String Folder { get; }

 

Property ReadOnly Folder As String

Path

Gets the path that should be used to access resources exposed by the JavaScript Dispatcher.

 

property Path: String read;

 

String Path { get; }

 

Property ReadOnly Path As String

ServeFilesFromFolder

Gets the flag indicating whether JavaScript Dispatcher should provide access to the physical folder defined by the Folder property.

 

property ServeFilesFromFolder: Boolean read;

 

Boolean ServeFilesFromFolder { get; }

 

Property ReadOnly ServeFilesFromFolder As Boolean

ServeROJavaScript

Gets the flag indicating whether JavaScript Dispatcher should provide access to the Remoting SDK for JavaScript scripts.

 

property ServeROJavaScript: Boolean read;

 

Boolean ServeROJavaScript { get; }

 

Property ReadOnly ServeROJavaScript As Boolean

See Also

  • Remoting SDK Server Configuration System