#include <servermanager.h>
Public Member Functions | |
ServerManager () | |
~ServerManager () | |
UaStatus | startUp (ServerConfig *pServerConfig) |
UaStatus | shutDown () |
ServerConfig * | getServerConfig () |
NodeManager * | getNodeManagerRoot () |
NodeManager * | getNodeManagerNS1 () |
SessionManager * | getSessionManager () |
OpcUa_UInt32 | startServerShutDown (OpcUa_Int32 secondsTillShutdown, const UaLocalizedText &shutdownReason) |
void | changeServerState (OpcUa_ServerState newState) |
ServerManager::ServerManager | ( | ) |
construction.
ServerManager::~ServerManager | ( | ) |
destruction
destruction.
UaStatus ServerManager::startUp | ( | ServerConfig * | pServerConfig | ) |
Start up server manager.
pServerConfig | Server configuration object. |
UaStatus ServerManager::shutDown | ( | ) |
Shut down server manager.
ServerConfig * ServerManager::getServerConfig | ( | ) |
Returns the server configuration object.
NodeManager * ServerManager::getNodeManagerRoot | ( | ) |
Returns the root node manager object.
NodeManager * ServerManager::getNodeManagerNS1 | ( | ) |
Returns the node manager object responsible for namespace index 1 nodes.
SessionManager * ServerManager::getSessionManager | ( | ) |
OpcUa_UInt32 ServerManager::startServerShutDown | ( | OpcUa_Int32 | secondsTillShutdown, | |
const UaLocalizedText & | shutdownReason | |||
) |
Inform the server manager about the shutdown of the server.
secondsTillShutdown | Seconds till shutdown of the server. | |
shutdownReason | Reason for the shutdown. |
void ServerManager::changeServerState | ( | OpcUa_ServerState | newState | ) |
Update the server manager about the change of the server state.
newState | New server status. |