|
| Session (OpcUa_Int32 sessionId, const UaNodeId &authenticationToken) |
| construction More...
|
|
virtual UaStatus | open (const UaString &sessionName, const UaByteString clientCertificate, OpcUa_UInt32 sessionTimeout) |
| Open the session. More...
|
|
virtual UaStatus | activate (OpcUa_UInt32 uSecureChannelId, UaUserIdentityToken *pUserIdentityToken, const UaStringArray &localeIDs) |
| Activate the session. More...
|
|
virtual UaStatus | close (OpcUa_Boolean deleteSubscriptions) |
| Close the session This method is called if the Client closes the Session with the service CloseSession or if the internal clean up routine is closing the Session after a Session timeout. More...
|
|
virtual OpcUa_Boolean | hasExpired () const |
| Checks if the session timeout expired. More...
|
|
virtual UaStatus | isValid (OpcUa_UInt32 uSecureChannelId) |
| Checks if the session is valid. More...
|
|
virtual void | setInvalid () |
| Set the state of the session to invalid.
|
|
OpcUa_Boolean | isActivated () |
| Get flag indicating if session was activated. More...
|
|
UaDateTime | lastTimeoutReset () |
| Get time the session timeout was reset. More...
|
|
virtual OpcUa_Boolean | mustDelete () |
| Checks if the session must be deleted. More...
|
|
virtual OpcUa_Boolean | isSecureChannelValid () |
| Check if the secure channel assigned to the session is valid. More...
|
|
virtual void | setSecureChannelInvalid () |
| Invalidate the secure channel assigned to the session. More...
|
|
virtual void | setSecureChannelValid () |
| Validate the secure channel assigned to the session. More...
|
|
virtual UaStatus | queueBrowseContext (BrowseContext *pBCP, OpcUa_ByteString *pCP) |
| Queue a browse continuation point. More...
|
|
virtual BrowseContext * | getBrowseContext (OpcUa_ByteString *pCP) |
| Get a browse continuation point. More...
|
|
virtual OpcUa_UInt16 | getMaxBrowseCPs () |
| Get the maximum number of browse continuation points. More...
|
|
virtual UaStatus | queueQueryContext (QueryContext *pBCP, OpcUa_ByteString *pCP) |
| Queue a query continuation point. More...
|
|
virtual QueryContext * | getQueryContext (OpcUa_ByteString *pCP) |
| Get a query continuation point. More...
|
|
virtual UaStatus | queueHistoryReadCP (HistoryReadCPUserDataBase *pHistoryReadCP, OpcUa_ByteString *pCP) |
| Queue a history read continuation point. More...
|
|
virtual HistoryReadCPUserDataBase * | getHistoryReadCP (OpcUa_ByteString *pCP) |
| Get a history read continuation point. More...
|
|
void | registerSessionCallback (SessionCallback *pCallback) |
| Register callback interface of object interested in the session status.
|
|
void | unregisterSessionCallback (SessionCallback *pCallback) |
| Unregister callback interface of object not longer interested in the session status.
|
|
void | resetTimeout () |
| Reset session timeout. More...
|
|
void | getSessionNodeId (OpcUa_NodeId &sessionId) const |
| Returns the NodeId of the session. More...
|
|
OpcUa_Int32 | getIntegerSessionId () const |
| Returns the integer ID of the session. More...
|
|
void | getAuthenticationToken (OpcUa_NodeId &authenticationToken) const |
| Returns the private ID of the session This ID is private to the client and server application and must be kept private inside the management of the session in the client and server code. More...
|
|
OpcUa_UInt32 | getSessionTimeout () const |
| Returns the timeout of the session. More...
|
|
UaString | getSessionName () const |
| Returns the name of the session. More...
|
|
OpcUa_UInt32 | getSecureChannelId () const |
| Returns the ID of the SecureChannel assigned to the session. More...
|
|
void | setSecureChannelSecurityPolicy (const UaString &sSecurityPolicy) |
| Sets the security policy of the secure channel active for this session.
|
|
UaString | getSecureChannelSecurityPolicy () const |
| Returns the security policy of the secure channel active for this session.
|
|
void | setSecureChannelMessageSecurityMode (OpcUa_MessageSecurityMode messageSecurityMode) |
| Sets the message security mode of the secure channel active for this session.
|
|
OpcUa_MessageSecurityMode | getSecureChannelMessageSecurityMode () const |
| Returns the message security mode of the secure channel active for this session.
|
|
void | setSecureChannelEndpointConfiguration (const UaEndpoint *pEndpoint) |
| Sets the server endpoint configuration used by the secure channel active for this session.
|
|
const UaEndpoint * | getSecureChannelEndpointConfiguration () const |
| Returns the server endpoint configuration used by the secure channel active for this session.
|
|
const OpcUa_ByteString * | getClientCertificate () const |
| Returns the client certificate of the client created the session. More...
|
|
void | setClientApplicationDescription (const UaApplicationDescription &clientApplicationDescription) |
| Sets the client application description that contains ApplicationUri, ProductUri, ApplicationName and ApplicationType.
|
|
UaApplicationDescription | getClientApplicationDescription () const |
| Returns the client application description that contains ApplicationUri, ProductUri, ApplicationName and ApplicationType.
|
|
void | setClientNetworkAddress (const UaString &clientNetworkAddress) |
| Sets the client network address used to communicate with the server through this session.
|
|
UaString | getClientNetworkAddress () const |
| Returns the client network address used to communicate with the server through this session.
|
|
UaString | getLocalId () const |
| Get the first local Id used for the session. More...
|
|
const UaStringArray * | getLocalIds () const |
| Get a pointer to the list of all local Ids used for the session. More...
|
|
UaStringArray | getLocalIdArray () const |
| Get the list of all localIds used for the session. More...
|
|
void | setClientUserId (const UaString &sClientUserId) |
| Sets the client user id for the session. More...
|
|
UaString | getClientUserId () const |
| Returns the client user id for the session. More...
|
|
virtual OpcUa_UInt64 | getSecureChannelKey () const |
| Returns an unique key to identify the secure channel in the session manager. More...
|
|
| ReferenceCounter () |
| construction
|
|
virtual | ~ReferenceCounter () |
| destruction
|
|
Class used to manage a client session in the server.
It manages all Session relevant settings including the lifetime of the Session. The object is reference counted and can not be deleted directly.