DANSrv Reference
NSPlugin Namespace
See Also  Inheritance Hierarchy Send Feedback
NSPluginNet4 Assembly : NSPlugin Namespace

Glossary Item Box

Classes

 ClassDescription
ClassAEConditionState AEConditionState objects are returned in the GetConditionState client call for each requested event attribute.
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.
ClassBrowseNodeInfo Node info returned in browse
ClassCacheItemInfo Item info from the generic server cache
ClassDeviceItemValue Item data passed in WriteItems()
ClassEventData Data passed to the client in an event callback
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.
ClassServerInstanceInfo Information from the generic server about the current server instances. There is an instance for each client connection. The application may use this information to give some clients special access rights or restrict the access for some clients. E.g. deny write access or read/write access to certain items. Since the always available user account information may be the same for all clients, the client application neeed to set define a name using the SetClientName OPC function.

Structures

 StructureDescription
StructureSrvRegDef Server information structure returned by GetServerRegistryDef.

Delegates

 DelegateDescription
DelegateAddItem Generic server callback to add a new item to the server's address space.
DelegateDeleteItem Generic server callback to remove an unreferenced item from the server's address space.
DelegateGetItemInfo Generic server callback to get inforamtion about one item.
DelegateGetRefreshNeed Generic server callback to get a list of item that need to be refreshed.
DelegateGetServerInfo Generic server callback to get information about the current server status/usage.
DelegateGetServerInstanceInfo Generic server callback to get information about one or all server instances. There is a server instance for each client connection.
DelegateSetItemValue Generic server callback to change an item value.
DelegateSetServerState Generic server callback to change the server state.
DelegateShutDownRequest Generic server callback to request a shout down.

Enumerations

 EnumerationDescription
EnumerationBROWSEMODE Browse Mode enumerator
EnumerationClientUpdateHandlingMode Controls the client update handling in the generic server. Professinal Edition only. The Standard Edition only supports the 'ManyChanges' mode.
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.
EnumerationOPCAccess OPC defined item read/write definitions
EnumerationOPCBROWSEDIRECTION Browse direction enumerator used in the OPC DA browser and The OPC AE area browser.
EnumerationOPCBROWSETYPE Enumerator for for browse mode selction
EnumerationOPCQuality OPC defined item quality values
EnumerationOpcServerState Possible OPC server states
EnumerationOpcSeverityLevel OPC recommended base values for OPC severity levels.
EnumerationOPCV3BrowseType OPC DA V3 browse modes
EnumerationOPCV3NodeType OPC DA V3 browse node information
EnumerationValidateMode Item Validate mode enumerator
EnumerationValidateReason Item Validate mode enumerator
EnumerationWriteCacheUpdateHandlingMode Controls the cache update in the Write handling. Professinal Edition only. The Standard Edition only supports the GenericServer mode.

See Also

© 2002-2017 Copyright Advosol Inc. All Rights Reserved.