SessionCallback
Description:
[ CCode ( instance_pos = 2.9 ) ]
[ Version ( since = "3.2" ) ]
public delegate void SessionCallback (Session session, Cancellable? cancellable) throws Error
[ Version ( since = "3.2" ) ]
public delegate void SessionCallback (Session session, Cancellable? cancellable) throws Error
This is the callback signature for jobs submitted to the CamelSession via submit_job.
The throws pointer is always non-null, so it's safe to dereference to check if a Error has been set.
Parameters:
session |
a Session |
cancellable |
a Operation cast as a Cancellable |
user_data |
data passed to submit_job |
Namespace: Camel
Package: camel-1.2