1 #ifndef PROTON_TASK_HPP
2 #define PROTON_TASK_HPP
28 #include "./internal/export.hpp"
29 #include "./internal/object.hpp"
31 #include <proton/reactor.h>
36 class task :
public internal::object<pn_task_t> {
38 task(pn_task_t* t) : internal::object<pn_task_t>(t) {}
41 PN_CPP_EXTERN
void cancel();
48 #endif // PROTON_TASK_HPP
Type traits for mapping between AMQP and C++ types.
Definition: annotation_key.hpp:28