Click or drag to resize

SettingsFileParserOnAdditionalSettingsFileRequested Delegate

Declares a delegate that is called when an additional settings file is requested.

Namespace:  Avaya.ClientServices
Assembly:  AvayaClientServices (in AvayaClientServices.dll) Version: 550.0.60.0
Syntax
C#
public delegate void OnAdditionalSettingsFileRequested(
	string path
)

Parameters

path
Type: SystemString
Relative path to the requested file on the server.
Remarks

This delegate is invoked for statements like: GET 46xxsettings.txt This specifies that parsing of the current settings file should stop and the specified file be parsed instead. However, if the requested file cannot be obtained (for example, does not exist on the server) then parsing of the current file should resume.

To accomplish this an application should attempt to retrieve the requested file and if successful update the data property with the contents of the new file and call parse. If unsuccessful, call Continue to continue parsing the current buffer.

See Also