OpenDOF Project
void(* DOFObjectSessionCallback::SessionOpen)(DOFObjectSessionCallback self, DOFOperation operation, DOFProviderInfo providerInfo, DOFObject session, DOFException except)

Callback for a Requestor when a requested session request is ready.

When successful, the session parameter is the new DOFObject for the session. This is only maintained for the duration of the callback itself, so if needed after the callback is finished, it must be copied (via DOFObject_Copy) and later freed by the application (via DOFObject_Destroy).

This callback may be NULL to ignore notification of the available session object.

Parameters
selfThe callback object. This will never be NULL.
operationThe Session Operation. This will never be NULL.
providerInfoThe DOFProviderInfo associated with the session or exception. This will never be NULL.
sessionThe result of the Session request. If exception is non-NULL, this must be ignored and may be NULL. Otherwise, it will be a valid DOFObject that may be used by the application within the context of this callback. If the application needs to keep this DOFObject beyond the scope of this callback, it must be copied via DOFObject_Copy and therefore freed when no longer needed.
exceptAn exception, if any. If not NULL, this indicates the error that occurred.
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22