OpenDOF Project
Data Fields
DOFObjectSessionCallback Struct Reference

The callback interface structure used to be notified of session requests. More...

Data Fields

void(* Complete )(DOFObjectSessionCallback self, DOFOperation operation, DOFException except)
 Callback for a Requestor when the DOFOperation, representing the Session, has timed out or is cancelled.
 
void(* SessionOpen )(DOFObjectSessionCallback self, DOFOperation operation, DOFProviderInfo providerInfo, DOFObject session, DOFException except)
 Callback for a Requestor when a requested session request is ready.
 

Detailed Description

The callback interface structure used to be notified of session requests.

The Requestor Session Callback interface.

All of the functions in this structure take a pointer to this structure (a DOFObjectSessionCallback) as their first argument. This structure may be placed as the first element in a larger structure that stores additional state, allowing the functions to access the additional state by casting the structure pointer to a pointer to the larger structure. If no additional state is required, this structure may be used directly.

Threading:
Functions in this interface may be called by multiple threads simultaneously. You must manage thread-safety.
See Also
DOFObject_BeginSession

Defined as a pointer to the DOFObjectSessionCallback_t structure. Refer to the structure for more information.

core-c-dof-oal Version 8.0.1 Build 0
2018-01-22