ANSI C UA Server SDK
1.5.1.313
|
Data Structures | |
struct | UaServer_PublicSession |
Public Session. More... | |
Functions | |
OpcUa_UInt32 | UaServer_Session_GetSecureChannelId (UaServer_PublicSession *a_pSession) |
Get the id of the current secure channel that is used for the given session. More... | |
OpcUa_StatusCode | UaServer_Session_GetClientName (UaServer_PublicSession *a_pSession, OpcUa_String *a_pClientName) |
Get the ClientName of the session. More... | |
OpcUa_DateTime | UaServer_Session_GetLastClientContact (UaServer_PublicSession *a_pSession) |
Get the timestamp of the last time the client used the session. More... | |
OpcUa_Boolean | UaServer_Session_IsEncrypted (UaServer_PublicSession *a_pSession) |
Checks if the session is encrypted. More... | |
OpcUa_Boolean | UaServer_Session_IsSigned (UaServer_PublicSession *a_pSession) |
Checks if the session is signed. More... | |
OpcUa_StatusCode | UaServer_Session_SetCurrentClientUserId (UaServer_PublicSession *a_pSession, OpcUa_String *a_pClientUserId) |
Set the current ClientUserId of the session. More... | |
const UaBase_TurboList * | UaServer_Session_GetContinuationPoints (UaServer_PublicSession *a_pSession) |
Get the list of currently active browse continuation points. More... | |
OpcUa_UInt32 | UaServer_Session_GetFileHandle (UaServer_PublicSession *a_pSession) |
Get a session-unique file handle. More... | |
OpcUa_StatusCode UaServer_Session_GetClientName | ( | UaServer_PublicSession * | a_pSession, |
OpcUa_String * | a_pClientName | ||
) |
Get the ClientName of the session.
This function was introduced in version 1.2.1.
a_pSession | a pointer to the actual session. |
a_pClientName | the name of the client of the current session will be stored here. |
const UaBase_TurboList* UaServer_Session_GetContinuationPoints | ( | UaServer_PublicSession * | a_pSession | ) |
Get the list of currently active browse continuation points.
This function was introduced in version 1.3.1.
a_pSession | A pointer to the session. |
OpcUa_UInt32 UaServer_Session_GetFileHandle | ( | UaServer_PublicSession * | a_pSession | ) |
Get a session-unique file handle.
a_pSession | A pointer to the session. |
OpcUa_DateTime UaServer_Session_GetLastClientContact | ( | UaServer_PublicSession * | a_pSession | ) |
Get the timestamp of the last time the client used the session.
This function was introduced in version 1.2.1.
a_pSession | A pointer to the session. |
OpcUa_UInt32 UaServer_Session_GetSecureChannelId | ( | UaServer_PublicSession * | a_pSession | ) |
Get the id of the current secure channel that is used for the given session.
a_pSession | a pointer to the actual session. |
OpcUa_Boolean UaServer_Session_IsEncrypted | ( | UaServer_PublicSession * | a_pSession | ) |
Checks if the session is encrypted.
This function was introduced in version 1.3.0.
a_pSession | A pointer to the session. |
OpcUa_Boolean UaServer_Session_IsSigned | ( | UaServer_PublicSession * | a_pSession | ) |
Checks if the session is signed.
This function was introduced in version 1.3.0.
a_pSession | A pointer to the session. |
OpcUa_StatusCode UaServer_Session_SetCurrentClientUserId | ( | UaServer_PublicSession * | a_pSession, |
OpcUa_String * | a_pClientUserId | ||
) |
Set the current ClientUserId of the session.
This function is to be used only by authentication modules.
a_pSession | A pointer to the session. |
a_pClientUserId | The new ClientUserId to set. |