|
| UaSession (OpcUa_Int32 sessionId, const UaNodeId &authenticationToken) |
| construction More...
|
|
virtual UaStatus | close (OpcUa_Boolean deleteSubscriptions) |
| Close the session This method is called if the Client closes the UaSession with the service CloseSession or if the internal clean up routine is closing the UaSession after a UaSession timeout. More...
|
|
virtual OpcUa_Boolean | matchUser (UaSession *pOtherSession) |
| Check if the user in both sessions is the same. More...
|
|
virtual UaStatus | queuePublishRequest (UaPublishContext *pUaPublishContext, UaSubscription **ppSubscription) |
| Queue a Publish context for the session. More...
|
|
virtual UaPublishContext * | getPublishRequest () |
| Returns a Publish context if one is available for the session. More...
|
|
virtual void | setSecureChannelInvalid () |
| Invalidate the secure channel assigned to the session. More...
|
|
virtual UaStatus | queueSubscriptionForPublish (UaSubscription *pSubscription) |
| Queue a subscriptions that is waiting for a publish. More...
|
|
virtual void | queueSubscriptionStatusChangeNotification (OpcUa_UInt32 subscriptionId, const UaStatus &status) |
| Queue a StatusChangeNotification for a subscription. More...
|
|
virtual UaStatus | subscriptionCreated (UaSubscription *pSubscription) |
| A new subscription in the session context was created. More...
|
|
virtual UaStatus | subscriptionInvalidated (UaSubscription *pSubscription) |
| A subscription in the session context was invalidated. More...
|
|
virtual void | sendSubscriptionStatusChangeNotification (UaPublishContext *pUaPublishContext, OpcUa_UInt32 subscriptionId, const UaStatus &status) |
| Send a StatusChangeNotification. More...
|
|
virtual RegisteredNode * | getRegisteredNode (OpcUa_UInt32 handle) const |
| Returns the registered node for a handle. More...
|
|
virtual OpcUa_UInt32 | addRegisteredNode (RegisteredNode *pRegisteredNode) |
| Adds a registered node and returns a handle. More...
|
|
virtual UaStatusCode | removeRegisteredNode (OpcUa_UInt32 handle) |
| Removes a registered node. More...
|
|
void | lockSendResponse () |
| Lock access to UA Stack EndSendResponse method. More...
|
|
void | unlockSendResponse () |
| Unlock access to UA Stack EndSendResponse method. More...
|
|
void | startingServiceProcessing () |
| Called to increment the active service counter.
|
|
void | finishedServiceProcessing () |
| Called to decrement the active service counter.
|
|
OpcUa_UInt32 | activeServiceCount () const |
| Get count of Service currently processed by the server. More...
|
|
void | setServerNonce (const OpcUa_ByteString *pServerNonce) |
| Set the last created server nonce The server nonce gets created during CreateSession or ActiveSession. More...
|
|
const OpcUa_ByteString * | getServerNonce () const |
| Returns the last created server nonce The server nonce gets created during CreateSession or ActiveSession. More...
|
|
void | setEndpoint (UaEndpoint *pEndpoint) |
| Set the endpoint data object containing information about the endpoint used by the client for this session.
|
|
UaEndpoint * | pEndpoint () const |
| Get the endpoint data object containing information about the endpoint used by the client for this session.
|
|
virtual OpcUa_UInt64 | getSecureChannelKey (OpcUa_UInt32 uSecureChannelId) const |
| Returns an unique key to identify the secure channel in the session manager. More...
|
|
| 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 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.
|
|
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 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 | 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...
|
|
const OpcUa_ByteString * | getClientCertificate () const |
| Returns the client certificate of the client created the session. More...
|
|
UaString | getLocalId () const |
| Get the first local Id used for the session. More...
|
|
const UaStringArray * | getLocalIds () const |
| Get the list of all local Ids used for the session. More...
|
|
UaString | getClientUserId () const |
| Returns the client user id for the session. More...
|
|
| ReferenceCounter () |
| construction
|
|
virtual | ~ReferenceCounter () |
| destruction
|
|
Class used to manage a OPC UA client session in the server.
It manages all OPC UA session relevant settings. All general session settings including the lifetime of the session are managed by the Session class which this class is derived from. The object is reference counted and can not be deleted directly.