Basic server configuration class using the XML file format for internal use in the class OpcServer.
More...
Inherits ServerConfigXml.
Basic server configuration class using the XML file format for internal use in the class OpcServer.
Definition at line 24 of file OpcServer.cxx.
◆ ServerConfigBasicXml()
ServerConfigBasicXml::ServerConfigBasicXml |
( |
const UaString & |
sXmlFileName, |
|
|
const UaString & |
sApplicationPath, |
|
|
OpcServerCallback * |
pOpcServerCallback |
|
) |
| |
construction
- Parameters
-
sIniFileName | Path and file name of the INI configuration file. |
sApplicationPath | The path of the configuration file and PKI store used to replace path placeholders in the configuration file |
pOpcServerCallback | Interface pointer of the callback interface.Creates a session object for the OPC server. |
sessionID | Session Id created by the server application. |
authenticationToken | Secret session Id created by the server application. |
- Returns
- A pointer to the created session.Validates the user identity token and sets the user for a session.
- Parameters
-
pSession | Interface to the Session context for the method call |
pUserIdentityToken | Secret session Id created by the server application. |
- Returns
- Error code. construction
- Parameters
-
sXmlFileName | Path and file name of the XML configuration file. |
sApplicationPath | The path of the configuration file and PKI store used to replace path placeholders in the configuration file |
pOpcServerCallback | Interface pointer of the callback interface. |
Definition at line 518 of file OpcServer.cxx.
◆ ~ServerConfigBasicXml()
ServerConfigBasicXml::~ServerConfigBasicXml |
( |
| ) |
|
|
inline |
◆ afterLoadConfiguration()
UaStatus ServerConfigBasicXml::afterLoadConfiguration |
( |
| ) |
|
|
inline |
◆ createSession()
Session * ServerConfigBasicXml::createSession |
( |
OpcUa_Int32 |
sessionID, |
|
|
const UaNodeId & |
authenticationToken |
|
) |
| |
Creates a session object for the OPC server.
- Parameters
-
sessionID | Session Id created by the server application. |
authenticationToken | Secret session Id created by the server application. |
- Returns
- A pointer to the created session.
Definition at line 530 of file OpcServer.cxx.
◆ logonSessionUser()
UaStatus ServerConfigBasicXml::logonSessionUser |
( |
Session * |
pSession, |
|
|
UaUserIdentityToken * |
pUserIdentityToken |
|
) |
| |
Validates the user identity token and sets the user for a session.
- Parameters
-
pSession | Interface to the Session context for the method call |
pUserIdentityToken | Secret session Id created by the server application. |
- Returns
- Error code.
Definition at line 547 of file OpcServer.cxx.
◆ shutDown()
UaStatus ServerConfigBasicXml::shutDown |
( |
| ) |
|
|
inline |
◆ startUp()
UaStatus ServerConfigBasicXml::startUp |
( |
ServerManager * |
| ) |
|
|
inline |
◆ m_pOpcServerCallback
OpcServerCallback* ServerConfigBasicXml::m_pOpcServerCallback |
|
private |
The documentation for this class was generated from the following file: