1 #ifndef CBE__delegate__UnSubscribeDelegate_h__
2 #define CBE__delegate__UnSubscribeDelegate_h__
5 #include "cbe/util/Context.h"
6 #include "cbe/delegate/Error.h"
7 #include "cbe/util/ErrorInfo.h"
8 #include "cbe/util/Exception.h"
12 class UnSubscribeSuccess;
89 explicit operator bool()
const;
Definition: UnSubscribeDelegate.h:20
virtual void onUnSubscribeError(Error &&error, cbe::util::Context &&context)=0
virtual void onUnSubscribeSuccess(cbe::PublishId publishId, cbe::ItemId itemId)=0
Convenience type that bundles all parameters passed to method cbe::delegate::UnSubscribeDelegate::onU...
Definition: UnSubscribeDelegate.h:76
std::shared_ptr< UnSubscribeDelegate > UnSubscribeDelegatePtr
Definition: UnSubscribeDelegate.h:69
Root namespace for the CloudBackend SDK API.
Definition: Account.h:22
std::uint64_t ItemId
Id of a cbe::Container or cbe::Object.
Definition: Types.h:88
std::uint64_t PublishId
Id of a subscribed cbe::Container or cbe::Object.
Definition: Types.h:104
Definition: UnSubscribeDelegate.h:41
Definition: ErrorInfo.h:27
Definition: Exception.h:38