C++ Based OPC UA Client/Server/PubSub SDK  1.7.6.537
UaServerCore::NodesetBrowseImport Class Reference

Server side implementation of a Nodeset Browse/Read importer. More...

#include <nodesetbrowseimport.h>

Inherits UaBase::AbstractNodesetBrowseImport.

Protected Member Functions

virtual bool browseList (const UaNodeIdArray &nodeIds, UaBrowseResults &targetNodes)
 Implementation of the AbstractNodesetBrowseImport::browseList() interface. More...
 
virtual bool read (UaBase::BaseNode *nodes[], UaDataValues &attributes)
 Implementation of the AbstractNodesetBrowseImport::read() interface. More...
 
virtual UaStringArray readNamespaceTable ()
 Implementation of the AbstractNodesetBrowseImport::readNamespaceTable interface.
 
UaReadValueIds getAttributes (UaBase::BaseNode *nodeIds[]) const
 provide ReadValueIds to read all attributes of each nodeclass. More...
 

Additional Inherited Members

- Public Member Functions inherited from UaBase::AbstractNodesetBrowseImport
virtual UaStatus import (Nodeset &nodeset)
 Implementation of interface AbstractNodesetImport::import. More...
 
virtual UaStatus import (Nodeset &nodeset, const UaStringArray &nsUris)
 import multiple namespaces from server to nodeset More...
 
virtual UaStatus import (Nodeset &nodeset, const UaString &nsUri)
 import single namespace from server to nodeset More...
 
virtual UaStatus import (Nodeset &nodeset, const UaUInt16Array &namespaceIndices)
 import multiple namespaces from server to nodeset More...
 
virtual UaStatus import (Nodeset &nodeset, const OpcUa_UInt16 namespaceIndex)
 import single namespace from server to nodeset More...
 
void setMaxNodesPerBrowse (OpcUa_UInt32 maxNodes)
 Sets the maximum number of nodes passed to one Browse service requests.
 
void setMaxNodesPerRead (OpcUa_UInt32 maxNodes)
 Sets the maximum number of nodes passed to one Read service requests.
 
void setMaxTotalNodes (OpcUa_UInt32 maxTotalNodes)
 Sets the maximum number of nodes that can be exported.
 
bool isPartialExport () const
 Get the information if the export was complete.
 
UaString lastErrorInformation () const
 Get additional information about the last error.
 
- Protected Attributes inherited from UaBase::AbstractNodesetImport
Nodesetm_pNodeset
 The Nodeset to import to.
 
UaBooleanArray m_importNsIdx
 Remote namespace indices to import.
 

Detailed Description

Server side implementation of a Nodeset Browse/Read importer.

Member Function Documentation

bool UaServerCore::NodesetBrowseImport::browseList ( const UaNodeIdArray nodeIds,
UaBrowseResults targetNodes 
)
protectedvirtual

Implementation of the AbstractNodesetBrowseImport::browseList() interface.

Parameters
nodeIdsArray of Node IDs to browse.
targetNodesResults of the service call, possibly containing continuation points.
Returns
true if all all nodes could be browsed and no continuation points are left, false on error

Implements UaBase::AbstractNodesetBrowseImport.

UaReadValueIds UaServerCore::NodesetBrowseImport::getAttributes ( UaBase::BaseNode nodeIds[]) const
protected

provide ReadValueIds to read all attributes of each nodeclass.

Parameters
nodeIdsBaseNodes to be read
Returns
UaReadValueIds to be used in a UaSession::read() service call to read all attributes of the nodes.
bool UaServerCore::NodesetBrowseImport::read ( UaBase::BaseNode nodes[],
UaDataValues attributes 
)
protectedvirtual

Implementation of the AbstractNodesetBrowseImport::read() interface.

Parameters
[in]nodesArray of BaseNode* of nodes to read.
[out]Resultsof the read service call
Returns
true if all all nodes could be read, otherwise false

The documentation for this class was generated from the following files: