DANSrvAE Reference
NSPlugin Namespace
See Also  Inheritance Hierarchy Send comments on this topic.
NSPlugin Assembly : NSPlugin Namespace

Glossary Item Box

Classes

 ClassDescription
ClassAEConditionState AEConditionState objects are returned in the GetConditionState client call for each requested event attribute.
ClassAlarmEventServer Alarm / Events Server.
Each client connect creates an instance of this class.
ClassAppPlugin OPC Server configuration and IO Handling. This is the base class of the DANSrv customization assembly.
Most methods in this class are serving the OPC DA server. Only the methods:
- GetAEServerRegistryDef
- CreateEventServer
are for the AE Server option.
ClassEventAreaBrowser Summary description for EventAreaBrowser.
ClassEventData Data passed to the client in an event callback
ClassEventSubscription EventSubscription class sample implementation.
Handles the event subscription client calls and OnEvent callbacks. There is an instance for subscription created by the clients.
The public members are used by the generic server and may not be changed.
Events are filtered according the current filter settings. The sample implementation is OPC AE V1.1 compliance tested.
ClassGenericServer

This class defines the generic DA server interface. See chapter ource Server Customization for an explanation of the server data and thread structure.

The GenericServer class provides a set of generic DA server callback methods. These methods can be used to read information from the generic server or change data in the generic DA server.

It also defines classes and enumerators used in the data exchange with the generic server and contains a standard implementation of the methods called by the generic DA server.

The class AppPlugin inherits from this class and defines method overloads for the methods that need to be implemented for a specific application.

ClassHRESULTS HRESULTS enumerator. Defines the OPC error codes.

Delegates

 DelegateDescription
DelegateCoInitForThread Definition of the generic server callback method.
DON'T USE IT DIRECTLY. Use the instance cbCoInitForThread.
DelegateOnEvent Definition of the generic server callback method.
DON'T USE IT DIRECTLY. Use the instance cbOnEvent.

clientSubscription: the client handle for the subscription object sending the event notifications.
refresh: TRUE if this is a subscription refresh.
lastRefresh: TRUE if this is the last subscription refresh in response to a specific
invocation of the EventSubscriptionMgt.Refresh method.
count : Number of event notifications. A value of zero indicates this is a keep-alive
notification (see EventSubscriptionMgt2.SetKeepAlive() ).
events : Array of event notifications.
DelegateSetItemValue Generic server callback to change an item value.
DelegateShutDownRequest Generic server callback to request a shout down.

Enumerations

 EnumerationDescription
EnumerationConditionState Event Server condition state.
The ConditionState defines flag bits that are used to indicate the state of the conditon. Multiple bits may be set in any combination.
EnumerationEventBrowseType Alarms/Events Browse type definition for filters. Event sources are organized in a hierarchical structure of areas. Areas can be defined as required and must not correlate to branches in the DA server address space.
However, for simplicity reasons the sample implementation has the eventsorces in areas that correlate to the DA server branch structure.
EnumerationEventChangeMask The Change Mask defines flag bits.
It is used in OnEvent callbacks to indicates to the client which properties of the condition have changed, to have caused the server to send the event notification. One or more bits may be set in a mask.
EnumerationEventFilter Types of filtering an event server may support
EnumerationEventType Event Types
EnumerationExeStartMode Determines how the server starts when the EXE file is started.
This definition has no effect if the server is started from DCOM due to a client connect or when it's registered to run as a service. The server terminates after the last client disconnects, independent of this definition.
EnumerationLookupMode Added in DANSrv V6.0
Determines how the LookupItgemIDs client requests are handled and how property items are created and updated.
EnumerationOPCBROWSEDIRECTION Browse direction enumerator used in the OPC DA browser and The OPC AE area browser.
EnumerationOPCBROWSETYPE Enumerator for for browse mode selction

See Also

© 2004-2017 Advosol Inc. All Rights Reserved.