C++ Based OPC UA Client/Server SDK
1.6.1.391
|
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... | |
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.
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
pServerConfig | Server configuration interface. |
pUaServer | An 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. |
int UaModule::shutDown | ( | ) |
Shut down OPC UA server module.
int UaModule::startUp | ( | CoreModule * | pCoreModule | ) |
Start up OPC UA server module.
pCoreModule | Server Core Module. |