OpenDOF Project
void(* DOFObjectProvider::SessionComplete)(DOFObjectProvider self, DOFOperation operation, DOFRequest request, DOFObject object, DOFInterfaceID interfaceID, DOFObjectID sessionID, DOFInterfaceID sessionType)

Callback for a Provider when a session request is completed and the session should be terminated.

This callback informs the application that the session is complete and the request can no longer be used. Typically, an application terminates a session by cleaning up the DOFObject created for the Session and any Provide Operations started on it.

This callback may be NULL if the application does not care to receive notification when a Session completes.

Parameters
selfThe callback object. This will never be NULL.
operationThe Provide Operation. This will never be NULL.
objectThe provider Object on which a Session is requested. This will never be NULL.
interfaceIDThe Interface ID for which a session is requested on the provider Object. This will never be NULL.
sessionIDThe Session ID (a DOFObjectID). This will never be NULL.
sessionTypeThe requested Session type (a DOFInterfaceID), defining the purpose and contract for the session. This will never be NULL.
requestA representation of the requestor. This will never be NULL.
Note
The request is for information only and must not be completed via this callback.
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22