S2OPC OPCUA Toolkit
|
Go to the source code of this file.
Typedefs | |
typedef enum SOPC_Services_Event | SOPC_Services_Event |
Functions | |
void | SOPC_Services_EnqueueEvent (SOPC_Services_Event seEvent, uint32_t id, uintptr_t params, uintptr_t auxParam) |
void | SOPC_Services_Initialize (SOPC_SetListenerFunc *setSecureChannelsListener) |
Initializes the services and application event dispatcher threads. | |
void | SOPC_Services_CloseAllSCs (bool clientOnly) |
Close all SecureChannels (established as client or both) in a synchronous way. | |
void | SOPC_Services_Clear (void) |
Stop and clear the services and application event dispatcher threads. | |
SOPC_EventHandler * | SOPC_Services_GetEventHandler (void) |
typedef enum SOPC_Services_Event SOPC_Services_Event |
Services events input events from application, services layer it-self or timer manager
enum SOPC_Services_Event |
Services events input events from application, services layer it-self or timer manager
Enumerator | |
---|---|
SE_TO_SE_SC_ALL_DISCONNECTED | Special event sent by B code to indicate all SC are closed. used to stop waiting synchronously disconnection of all secure channels before during toolkit clearing phase. |
SE_TO_SE_ACTIVATE_ORPHANED_SESSION | Client side only: |
SE_TO_SE_CREATE_SESSION | Client side only: |
SE_TO_SE_ACTIVATE_SESSION | Client side only: |
SE_TO_SE_SERVER_DATA_CHANGED | Server side only: |
SE_TO_SE_SERVER_NODE_CHANGED | Server side only: |
SE_TO_SE_SERVER_INACTIVATED_SESSION_PRIO | Server side only: |
SE_TO_SE_SERVER_SEND_ASYNC_PUB_RESP_PRIO | Server side only: |
TIMER_SE_EVAL_SESSION_TIMEOUT | Server side only: |
TIMER_SE_PUBLISH_CYCLE_TIMEOUT | Server side only: evaluates the publish cycle timeout expiration for the subscription. |
APP_TO_SE_OPEN_ENDPOINT | Server side only: |
APP_TO_SE_CLOSE_ENDPOINT | Server side only: |
APP_TO_SE_LOCAL_SERVICE_REQUEST | Server side only: |
APP_TO_SE_TRIGGER_EVENT | Server side only: |
APP_TO_SE_OPEN_REVERSE_ENDPOINT | Server side only: |
APP_TO_SE_CLOSE_REVERSE_ENDPOINT | Server side only: |
APP_TO_SE_ACTIVATE_SESSION | Client side only: |
APP_TO_SE_SEND_SESSION_REQUEST | Client side only: |
APP_TO_SE_SEND_DISCOVERY_REQUEST | Client side only: |
APP_TO_SE_CLOSE_SESSION | Client side only: |
APP_TO_SE_CLOSE_ALL_CONNECTIONS | (internal use only). Request to close all established SC connections |
APP_TO_SE_REEVALUATE_SCS | Re-evaluate the secure channels due to application certificate/key update (force SC re-establishment) or PKI application trust list update (peer certificate re-validation necessary). params = (bool) flag indicating if it concerns server (true) or client (false) application secure channels. |
APP_TO_SE_EVAL_USR_CRT_SESSIONS | Server side only: |
void SOPC_Services_EnqueueEvent | ( | SOPC_Services_Event | seEvent, |
uint32_t | id, | ||
uintptr_t | params, | ||
uintptr_t | auxParam ) |
void SOPC_Services_Initialize | ( | SOPC_SetListenerFunc * | setSecureChannelsListener | ) |
Initializes the services and application event dispatcher threads.
void SOPC_Services_CloseAllSCs | ( | bool | clientOnly | ) |
Close all SecureChannels (established as client or both) in a synchronous way.
clientOnly | If flag is set, only the Secure Channels established as a client are closed. Otherwise both Secure Channels established as a server and as client are closed. |
void SOPC_Services_Clear | ( | void | ) |
Stop and clear the services and application event dispatcher threads.
SOPC_EventHandler * SOPC_Services_GetEventHandler | ( | void | ) |