UA Server SDK C++ Bundle
1.3.3.206
|
Callback interface for the main OPC Server object. More...
#include <opcserver.h>
Public Member Functions | |
OpcServerCallback () | |
Construction. | |
virtual | ~OpcServerCallback () |
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)=0 |
Validates the user identity token and sets the user for the session. 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 main OPC Server object.
This callback interface needs to be implemented if the application wants to implement user authentication.
|
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 verfication.
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. |