ServerConfigBasicIni Class Reference

Inheritance diagram for ServerConfigBasicIni:
Collaboration diagram for ServerConfigBasicIni:

List of all members.

Public Member Functions

 ServerConfigBasicIni (const UaString &sIniFileName, const UaString &sApplicationPath, OpcServerCallback *pOpcServerCallback)
UaStatus startUp (ServerManager *)
UaStatus shutDown ()
SessioncreateSession (OpcUa_Int32 sessionID, const UaNodeId &authenticationToken)
UaStatus logonSessionUser (Session *pSession, UaUserIdentityToken *pUserIdentityToken)

Detailed Description

Basic server configuration class using the INI file format for internal use in the class OpcServer.


Constructor & Destructor Documentation

ServerConfigBasicIni::ServerConfigBasicIni ( const UaString sIniFileName,
const UaString sApplicationPath,
OpcServerCallback pOpcServerCallback 
)

construction

Parameters:
sIniFileNamePath and file name of the INI configuration file.
sApplicationPathThe path of the configuration file and PKI store used to replace path placeholders in the configuration file
pOpcServerCallbackInterface pointer of the callback interface.

Member Function Documentation

Session * ServerConfigBasicIni::createSession ( OpcUa_Int32  sessionID,
const UaNodeId authenticationToken 
) [virtual]

Creates a session object for the OPC server.

Parameters:
sessionIDSession Id created by the server application.
authenticationTokenSecret session Id created by the server application.
Returns:
A pointer to the created session.

Implements ServerConfig.

UaStatus ServerConfigBasicIni::logonSessionUser ( Session pSession,
UaUserIdentityToken pUserIdentityToken 
) [virtual]

Validates the user identity token and sets the user for a session.

Parameters:
pSessionInterface to the Session context for the method call
pUserIdentityTokenSecret session Id created by the server application.
Returns:
Error code.

Implements ServerConfig.

UaStatus ServerConfigBasicIni::shutDown (  ) [inline, virtual]

Shut down OPC ServerConfig.

Returns:
Error code

Implements ServerConfig.

UaStatus ServerConfigBasicIni::startUp ( ServerManager pServerManager ) [inline, virtual]

Start up OPC ServerConfig.

Returns:
Error code

Implements ServerConfig.


The documentation for this class was generated from the following file:
  • /home/buildbot/work/uasdkcpp/examples/utilities/opcserver.cpp