C# Class Softing.OPCToolbox.Server.WebTemplate

Web template is the interface for OPC server's web interface. This class must be derived and HandleWebTemplate method must be overriden to provide customized behavior to the web server.
Datei anzeigen Open project: SoftingIndustrial/OPC-Classic-SDK

Public Methods

Method Description
HandleWebTemplate ( string aTemplateName, long aNumArgs, Array anArgs, string &aResult ) : int

OPCToolbox callback handler for the HTTP server requests. This method must be overriden for the OPC server application usage. The pattern is that the Web client provides a Template name with some arguments and the Template handler will build a result string accordingly to the application's need.

WebTemplate ( ) : System

Default constructor. No features implemented

Method Details

HandleWebTemplate() public method

OPCToolbox callback handler for the HTTP server requests. This method must be overriden for the OPC server application usage. The pattern is that the Web client provides a Template name with some arguments and the Template handler will build a result string accordingly to the application's need.
public HandleWebTemplate ( string aTemplateName, long aNumArgs, Array anArgs, string &aResult ) : int
aTemplateName string /// name of the template to be resolved. ///
aNumArgs long /// the number of arguments of the Template. ///
anArgs Array /// the string array with the arguments. ///
aResult string /// out string parameter to be filled by the method. ///
return int

WebTemplate() public method

Default constructor. No features implemented
public WebTemplate ( ) : System
return System