UA Server SDK C++ Bundle
1.4.1.271
|
Callback interface for the Server application object. More...
#include <uaserverapplication.h>
Public Member Functions | |
UaServerApplicationCallback () | |
Construction. | |
virtual | ~UaServerApplicationCallback () |
Destruction. | |
virtual Session * | createSession (OpcUa_Int32 sessionID, const UaNodeId &authenticationToken)=0 |
Creates a session object for the OPC server. More... | |
virtual UaStatus | logonSessionUser (Session *pSession, UaUserIdentityToken *pUserIdentityToken, ServerConfig *pServerConfig)=0 |
Validates the user identity token and sets the user for the session. More... | |
virtual void | afterLoadConfiguration (ServerConfig *pServerConfig) |
Optional method used to inform the application that the configuration was loaded. More... | |
virtual UaServer * | createUaServer () |
Optional method used to create an application specific UaServer object used as main entry point for the UA communication. More... | |
Callback interface for the Server application object.
This callback interface needs to be implemented if the application wants to implement user authentication.
|
virtual |
Optional method used to inform the application that the configuration was loaded.
This callback allows the application to overwrite settings from configuration files before the server is started. This ensures that hard coded settings can not be changed by entering the configuration setting into the configuration file.
pServerConfig | The server configuration interface |
|
pure virtual |
Creates a session object for the OPC server.
This callback allows the application to create its own session class derived from UaSession to store user specific information and to implement the user logon and user verification.
sessionID | Session Id created by the server application. |
authenticationToken | Secret session Id created by the server application. |
|
inlinevirtual |
|
pure virtual |
Validates the user identity token and sets the user for the session.
pSession | Interface to the Session context for the method call |
pUserIdentityToken | Secret session Id created by the server application. |
pServerConfig | The server configuration interface |