C++ Based OPC UA Client/Server/PubSub SDK
1.7.1.476
|
Management class for server SDK OPC UA publish subscriber module. More...
#include <pubsubmanager.h>
Inherits UaServerApplicationModule.
Public Member Functions | |
PubSubManager () | |
Creates an instance of the PubSubManager. | |
virtual | ~PubSubManager () |
Destroys the PubSubManager object. | |
UaStatus | setPubSubConfig (const UaString &configurationFile, const UaString &sConfigPath) |
Sets the PubSub configuration file name and location. More... | |
UaStatus | startUp (ServerManager *pServerManager) |
Start up PubSubManager object. More... | |
UaStatus | shutDown () |
Shut down PubSubManager object. | |
UaStatus | reloadPubSubConfig () |
Loads the PubSub configuration from the configuration file and starts the PubSub module with this configuration. | |
void | setPubSubServerApplicationCallback (PubSubServerApplicationCallback *pCallback) |
Set PubSubServerApplicationCallback for the PubSub module. More... | |
void | setConfigurationPermissions (NodeAccessInfo *pDefaultPermissions) |
Set configuration permissions for the PubSub configuration model. More... | |
void | setPubSubNetworkBackendUser (PubSubBase::PubSubNetworkBackendInterface *pNetworkBackendUser) |
Set PubSubNetworkBackendInterfaceTypeUser for the PubSub module. More... | |
Management class for server SDK OPC UA publish subscriber module.
void PubSubManager::setConfigurationPermissions | ( | NodeAccessInfo * | pDefaultPermissions | ) |
Set configuration permissions for the PubSub configuration model.
The default permissions are to observer rights (Browse, Read) for the roles AuthenticatesUser and Anonymous and to operator rights (Browse, Read, Call) for the role ConfigureAdmin
[in] | pDefaultPermissions | Permission settings |
UaStatus PubSubManager::setPubSubConfig | ( | const UaString & | configurationFile, |
const UaString & | sConfigPath | ||
) |
Sets the PubSub configuration file name and location.
[in] | configurationFile | Name of the configuration file |
[in] | sConfigPath | Path to the configuration file |
void PubSubManager::setPubSubNetworkBackendUser | ( | PubSubBase::PubSubNetworkBackendInterface * | pNetworkBackendUser | ) |
Set PubSubNetworkBackendInterfaceTypeUser for the PubSub module.
[in] | pNetworkBackendUser | Interface to a network backed |
void PubSubManager::setPubSubServerApplicationCallback | ( | PubSubServerApplicationCallback * | pCallback | ) |
Set PubSubServerApplicationCallback for the PubSub module.
[in] | pCallback | Callback interface of server application for PubSub module |
|
virtual |
Start up PubSubManager object.
[in] | pServerManager | ServerManager interface |
Implements UaServerApplicationModule.