UaModule Class Reference
[UA Module]

Inteface 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. More...

#include <uamodule.h>

List of all members.

Public Member Functions

 UaModule ()
 ~UaModule ()
int initialize (ServerConfig *pServerConfig, UaServer *pUaServer=0)
int startUp (CoreModule *pCoreModule)
int shutDown ()

Detailed Description

Inteface 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.


Constructor & Destructor Documentation

UaModule::UaModule (  )

construction

UaModule::~UaModule (  )

destruction


Member Function Documentation

int UaModule::initialize ( ServerConfig pServerConfig,
UaServer pUaServer = 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:
  • /home/buildbot/work/uasdkcpp/src/uaserver/uaservercpp/uamodule/uamodule.h
  • /home/buildbot/work/uasdkcpp/src/uaserver/uaservercpp/uamodule/uamodule.cpp