Data Structures | |
struct | _UaServer_Session |
Holds all data needed to manage a session. More... | |
struct | _UaServer_PublicSession |
Public Session. More... | |
Functions | |
OpcUa_StatusCode | UaServer_Session_Create (UaServer_Session **a_ppSession, OpcUa_Int32 a_SessionId, OpcUa_String *a_psClientName, OpcUa_Int32 a_SessionTimeout) |
Create a new Session. | |
OpcUa_Void | UaServer_Session_Delete (UaServer_Session **a_ppSession) |
Delete the current Session. | |
OpcUa_StatusCode | UaServer_Session_Activate (UaServer_Session *a_pSession) |
Activate the current Session. | |
OpcUa_StatusCode | UaServer_Session_Close (UaServer_Session *a_pSession) |
Close the current Session. | |
OpcUa_Void | UaServer_Session_ResetTimeout (UaServer_Session *a_pSession) |
Reset the Timeout of the current Session. | |
OpcUa_Boolean | UaServer_Session_HasExpired (UaServer_Session *a_pSession) |
Check wether the Session has expired or not. | |
OpcUa_Boolean | UaServer_Session_IsValid (UaServer_Session *a_pSession) |
Check wether the Session is valid or not not. | |
OpcUa_Boolean | UaServer_Session_MustDelete (UaServer_Session *a_pSession) |
Deletes the Session if the Session has expired. | |
OpcUa_UInt32 | UaServer_Session_GetSessionId (UaServer_Session *a_pSession) |
Get the Id of the actual Session. |
OpcUa_StatusCode UaServer_Session_Activate | ( | UaServer_Session * | a_pSession | ) |
Activate the current Session.
a_pSession | a pointer to the actual session. |
OpcUa_StatusCode UaServer_Session_Close | ( | UaServer_Session * | a_pSession | ) |
Close the current Session.
a_pSession | a pointer to the actual session. |
OpcUa_StatusCode UaServer_Session_Create | ( | UaServer_Session ** | a_ppSession, | |
OpcUa_Int32 | a_SessionId, | |||
OpcUa_String * | a_psClientName, | |||
OpcUa_Int32 | a_SessionTimeout | |||
) |
Create a new Session.
a_ppSession | a pointer to the actual session. | |
a_SessionId | the actual session id. | |
a_psClientName | the name of the actual Client. | |
a_SessionTimeout | a value when the session expires. |
OpcUa_Void UaServer_Session_Delete | ( | UaServer_Session ** | a_ppSession | ) |
Delete the current Session.
a_ppSession | a pointer to the actual session. |
OpcUa_UInt32 UaServer_Session_GetSessionId | ( | UaServer_Session * | a_pSession | ) |
Get the Id of the actual Session.
a_pSession | a pointer to the actual session. |
OpcUa_Boolean UaServer_Session_HasExpired | ( | UaServer_Session * | a_pSession | ) |
Check wether the Session has expired or not.
a_pSession | a pointer to the actual session. |
OpcUa_Boolean UaServer_Session_IsValid | ( | UaServer_Session * | a_pSession | ) |
Check wether the Session is valid or not not.
a_pSession | a pointer to the actual session. |
OpcUa_Boolean UaServer_Session_MustDelete | ( | UaServer_Session * | a_pSession | ) |
Deletes the Session if the Session has expired.
a_pSession | a pointer to the actual session. |
OpcUa_Void UaServer_Session_ResetTimeout | ( | UaServer_Session * | a_pSession | ) |
Reset the Timeout of the current Session.
a_pSession | a pointer to the actual session. |