S2OPC OPCUA Toolkit
|
Defines abstract context type that can be use to obtain context associated to a service call (write, callmethod, etc.) More...
Go to the source code of this file.
Typedefs | |
typedef struct SOPC_CallContext | SOPC_CallContext |
Context provided when a service callback is called (write notification, method call). The context can only be used during the callback call, see getters available. | |
Functions | |
const SOPC_User * | SOPC_CallContext_GetUser (const SOPC_CallContext *callContextPtr) |
Returns the user that called the service. | |
OpcUa_MessageSecurityMode | SOPC_CallContext_GetSecurityMode (const SOPC_CallContext *callContextPtr) |
Returns the security mode of the connection used to call the service. | |
const char * | SOPC_CallContext_GetSecurityPolicy (const SOPC_CallContext *callContextPtr) |
Returns the security policy of the connection used to call the service. | |
uint32_t | SOPC_CallContext_GetEndpointConfigIdx (const SOPC_CallContext *callContextPtr) |
Returns the server endpoint of the connection used to call the service. | |
SOPC_AddressSpaceAccess * | SOPC_CallContext_GetAddressSpaceAccess (const SOPC_CallContext *callContextPtr) |
Get direct access to the address space. AddressSpace is only available during a method call and shall not be kept nor used after method call ends. Otherwise behavior is undefined. | |
Defines abstract context type that can be use to obtain context associated to a service call (write, callmethod, etc.)
typedef struct SOPC_CallContext SOPC_CallContext |
Context provided when a service callback is called (write notification, method call). The context can only be used during the callback call, see getters available.
const SOPC_User * SOPC_CallContext_GetUser | ( | const SOPC_CallContext * | callContextPtr | ) |
Returns the user that called the service.
OpcUa_MessageSecurityMode SOPC_CallContext_GetSecurityMode | ( | const SOPC_CallContext * | callContextPtr | ) |
Returns the security mode of the connection used to call the service.
const char * SOPC_CallContext_GetSecurityPolicy | ( | const SOPC_CallContext * | callContextPtr | ) |
Returns the security policy of the connection used to call the service.
uint32_t SOPC_CallContext_GetEndpointConfigIdx | ( | const SOPC_CallContext * | callContextPtr | ) |
Returns the server endpoint of the connection used to call the service.
SOPC_AddressSpaceAccess * SOPC_CallContext_GetAddressSpaceAccess | ( | const SOPC_CallContext * | callContextPtr | ) |
Get direct access to the address space. AddressSpace is only available during a method call and shall not be kept nor used after method call ends. Otherwise behavior is undefined.