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.
Afficher le fichier Open project: SoftingIndustrial/OPC-Classic-SDK

Méthodes publiques

Méthode 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 méthode

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. ///
Résultat int

WebTemplate() public méthode

Default constructor. No features implemented
public WebTemplate ( ) : System
Résultat System