C++ Based OPC UA Client/Server/PubSub SDK  1.7.6.537
UaModule Class Reference

Interface class for the OPC UA server module. More...

#include <uamodule.h>

Public Member Functions

 UaModule ()
 construction
 
 ~UaModule ()
 destruction
 
int initialize (ServerConfig *pServerConfig, UaServer *pUaServer=0, UaDurableSubscriptionCallback *pCallback=0)
 Optional stack initialization before start up. More...
 
int startUp (CoreModule *pCoreModule)
 Start up OPC UA server module. More...
 
int shutDown ()
 Shut down OPC UA server module. More...
 

Detailed Description

Interface class for the OPC UA server module.

This class is responsible for the start up and the shut down of the OPC UA server module.

Member Function Documentation

int UaModule::initialize ( ServerConfig pServerConfig,
UaServer pUaServer = 0,
UaDurableSubscriptionCallback pCallback = 0 
)

Optional stack initialization before start up.

This initialization function can be used to set the stack settings based on the current configuration if the UaModule::startUp is too late

Parameters
pServerConfigServer configuration interface.
pUaServerAn instance of a derived class of UaServer can be passed to this function to force the UaModule to use this instance instead of creating a UaServer. This allowes a user of the SDK to implement a specialized version of the UaServer.
Returns
0 if success -1 if not.
int UaModule::shutDown ( )

Shut down OPC UA server module.

Returns
0 if success -1 if not.
int UaModule::startUp ( CoreModule pCoreModule)

Start up OPC UA server module.

Parameters
pCoreModuleServer Core Module.
Returns
0 if success -1 if not.

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