The following tables list the members exposed by AppPlugin.
Name | Description | |
---|---|---|
AppPlugin Constructor |
Name | Description | |
---|---|---|
AEsourcesCreated | ||
onAddMethod | Handler in the UA generic server that adds a method definition. (Inherited from NSPlugin.GenericServer) | |
useUaPlusInternalAEbase | Optional property that can defined as true to force the usPLUS internal AE base being used. Otherwise the NSPluginAEbase.Net4.dll needs to be provided or the AE base functionailty needs to implemented in the NSPlugin.Net4.dll code. |
Name | Description | |
---|---|---|
Browse | ||
BrowseChangePosition | ||
BrowseGetFullItemID | ||
BrowseItemIDs | ||
CreateEventServer | ||
CreateServerItems | ||
DefineCallbackAddMethod | Defines the method that can be called to add a UA Method definition. (Inherited from NSPlugin.GenericServer) | |
DefineCallbacks | This method is called from the generic server at startup. It passes the callback methods supported by the generic server. These callback methods can be called anytime to exchange data with the generic server. The DefineCallbacks method must not be overloaded or changed. The default implementation stores the delegates for later callbacks. (Inherited from NSPlugin.GenericServer) | |
DefineCallbacks2 | This method is called from the professional edition generic server V5.1 an newer at startup. It passes an additional callback methods supported by the professional edition generic server. The callback method can be called anytime to exchange data with the generic server. The DefineCallbacks2 method must not be overloaded or changed. The default implementation stores the delegates for later callbacks. (Inherited from NSPlugin.GenericServer) | |
GetAEServerRegistryDef | ||
GetItemProperties | ||
GetModeDefinitions | ||
GetPropertyValue | For the requested item return the values of the requested properties | |
GetServerParameters | ||
GetServerRegistryDef | ||
GetVersion | ||
LogEvent | ||
LookupItemID | Added in DANSrv V6.0 This method is called by the generic server only when LookupMode is defined as 'PluginHandled'. If the request is invalid the method returns null. Otherwise, it creates a unique name for the property item creates the property item by calling the generic server method AddItem(). The plug-in must update the cache value of this item by calling the SetItemValue() method whenever the property value changes. | |
QueryProperties | Get the properties of the specified item | |
RefreshItems | refresh the items listed in the appHandles array in the cache | |
ServerInstancesChange | This method is called when: a) A client connects and therefore a new server instance has to be created. If the method returns an error code then no instance is created and the client connect is failed. b) A server instance is terminating (a client disconnects). This method cannot prevent this. The call is to inform the plugin of the status change. For a server with DA/AE functionality the configuration should define a different CLSID/ProID for DA and AE if application needs to supervise the instance creation. With the same CLSID for DA and AE on client connect an instance of each server type (DA and AE) is created and this method is called for each instance. At instance creation time it's not known what functionality the client is going to use. | |
ShutdownSignal | This method is called from the generic server EXE when a Shutdown is executed. To ensure proper process shutdown, any communication channels should be closed and threads terminated before this method returns. | |
ValidateItems | Overloaded. | |
WriteItems | Overloaded. This method is called when a client executes a 'write' server call. The items specified in the appHandles array need to be written to the device. The generic server updates the cache for these items. |