SDK  2.1.4 [async]
CloudBackend Software Development Kit - SDK API for C++
cbe::delegate Namespace Reference

Root namespace for the delegate interfaces. More...

Namespaces

 container
 Namespace for cbe::Container specific delegate interfaces.
 
 group
 Namespace for cbe::Group specific delegate interfaces.
 
 object
 Namespace for cbe::Object specific delegate interfaces.
 

Classes

class  AclDelegate
 
class  AddRoleMemberDelegate
 
class  BanDelegate
 
class  BanSuccess
 Convenience type that bundles all parameters passed to method cbe::delegate::BanDelegate::onBanSuccess. More...
 
class  ChunkTransferred
 Bundles the progress event information in connection with download and upload. More...
 
class  CloudBackendListenerDelegate
 
class  CreateAccountDelegate
 
class  CreateContainerDelegate
 
class  CreateGroupDelegate
 
class  CreateObjectDelegate
 
class  CreateRoleDelegate
 
class  DownloadBinaryDelegate
 
class  DownloadBinarySuccess
 Convenience type that bundles all parameters passed to method cbe::delegate::DownloadBinaryDelegate::onDownloadBinarySuccess. More...
 
class  DownloadDelegate
 
class  DownloadSuccess
 Convenience type that bundles all parameters passed to method cbe::delegate::DownloadDelegate::onDownloadSuccess. More...
 
class  Error
 
class  GetStreamsDelegate
 
class  GetSubscriptionsDelegate
 
class  ICloudBackendListener
 
class  LoadError
 
class  JoinError
 
class  ItemError
 
class  JoinDelegate
 
class  KickDelegate
 
class  KickSuccess
 Convenience type that bundles all parameters passed to method cbe::delegate::KickDelegate::onKickSuccess. More...
 
class  LeaveDelegate
 
class  LeaveSuccess
 
class  ListGroupsDelegate
 
class  ListMembersDelegate
 
class  ListRolesDelegate
 
class  ListSharesDelegate
 
class  LogInDelegate
 
class  PublishDelegate
 
class  PublishSuccess
 Convenience type that bundles the parameter passed to method cbe::delegate::ShareDelegate::onShareSuccess. More...
 
class  QueryDelegate
 
class  QueryError
 
class  QueryJoinDelegate
 
struct  QueryLoaded
 
class  RemoveRoleDelegate
 
class  RemoveRoleMemberDelegate
 
class  SearchGroupsDelegate
 
class  ShareDelegate
 
class  ShareSuccess
 Convenience type that bundles the parameter passed to method cbe::delegate::ShareDelegate::onShareSuccess. More...
 
class  SubscribeDelegate
 
class  TransferError
 
class  UnBanDelegate
 
class  UnBanSuccess
 Convenience type that bundles all parameters passed to method cbe::delegate::UnBanDelegate::onUnBanSuccess. More...
 
class  UnPublishDelegate
 
class  UnPublishSuccess
 Convenience type that bundles all parameters passed to method cbe::delegate::UnPublishDelegate::onUnPublishError. More...
 
class  UnShareDelegate
 
class  UnShareSuccess
 Convenience type that bundles the parameter passed to method cbe::delegate::ShareDelegate::onShareSuccess. More...
 
class  UnSubscribeDelegate
 
class  UnSubscribeSuccess
 Convenience type that bundles all parameters passed to method cbe::delegate::UnSubscribeDelegate::onUnSubscribeSuccess. More...
 
class  UpdateKeyValuesDelegate
 
class  UploadDelegate
 

Typedefs

using AclDelegatePtr = std::shared_ptr< AclDelegate >
 
using AddRoleMemberDelegatePtr = std::shared_ptr< AddRoleMemberDelegate >
 
using BanDelegatePtr = std::shared_ptr< BanDelegate >
 
using CloudBackendListenerDelegatePtr = std::shared_ptr< CloudBackendListenerDelegate >
 
using CreateAccountDelegatePtr = std::shared_ptr< CreateAccountDelegate >
 
using CreateContainerDelegatePtr = std::shared_ptr< CreateContainerDelegate >
 
using CreateGroupDelegatePtr = std::shared_ptr< CreateGroupDelegate >
 
using CreateObjectDelegatePtr = std::shared_ptr< CreateObjectDelegate >
 
using CreateRoleDelegatePtr = std::shared_ptr< CreateRoleDelegate >
 
using DownloadBinaryDelegatePtr = std::shared_ptr< DownloadBinaryDelegate >
 
using DownloadDelegatePtr = std::shared_ptr< DownloadDelegate >
 
using GetStreamsDelegatePtr = std::shared_ptr< GetStreamsDelegate >
 
using GetSubscriptionsDelegatePtr = std::shared_ptr< GetSubscriptionsDelegate >
 
using ICloudBackendListenerPtr = std::shared_ptr< ICloudBackendListener >
 
using JoinDelegatePtr = std::shared_ptr< JoinDelegate >
 
using KickDelegatePtr = std::shared_ptr< KickDelegate >
 
using LeaveDelegatePtr = std::shared_ptr< LeaveDelegate >
 
using ListGroupsDelegatePtr = std::shared_ptr< ListGroupsDelegate >
 
using ListMembersDelegatePtr = std::shared_ptr< ListMembersDelegate >
 
using ListRolesDelegatePtr = std::shared_ptr< ListRolesDelegate >
 
using ListSharesDelegatePtr = std::shared_ptr< ListSharesDelegate >
 
using LogInDelegatePtr = std::shared_ptr< LogInDelegate >
 
using ProgressEventFn = std::function< void(const ChunkTransferred &)>
 Callback interface function that the CloudBackend SDK uses to indicate the progress of an upload/download. More...
 
using PublishDelegatePtr = std::shared_ptr< PublishDelegate >
 
using QueryDelegatePtr = std::shared_ptr< QueryDelegate >
 
using Error = delegate::Error
 
using QueryJoinDelegatePtr = std::shared_ptr< QueryJoinDelegate >
 
using RemoveRoleDelegatePtr = std::shared_ptr< RemoveRoleDelegate >
 
using RemoveRoleMemberDelegatePtr = std::shared_ptr< RemoveRoleMemberDelegate >
 
using SearchGroupsDelegatePtr = std::shared_ptr< SearchGroupsDelegate >
 
using ShareDelegatePtr = std::shared_ptr< ShareDelegate >
 
using SubscribeDelegatePtr = std::shared_ptr< SubscribeDelegate >
 
using UnBanDelegatePtr = std::shared_ptr< UnBanDelegate >
 
using UnPublishDelegatePtr = std::shared_ptr< UnPublishDelegate >
 
using UnShareDelegatePtr = std::shared_ptr< UnShareDelegate >
 
using UnSubscribeDelegatePtr = std::shared_ptr< UnSubscribeDelegate >
 
using UpdateKeyValuesDelegatePtr = std::shared_ptr< UpdateKeyValuesDelegate >
 
using UploadDelegatePtr = std::shared_ptr< UploadDelegate >
 

Functions

CBI::ItemDelegatePtr createCbiQueryDelegate (QueryDelegatePtr, cbe::util::Context &&)
 
CBI::ItemDelegatePtr createCbiQueryDelegate (QueryJoinDelegatePtr, cbe::util::Context &&)
 
CBI::ItemDelegatePtr createCbiJoinDelegate (JoinDelegatePtr, cbe::util::Context &&)
 

Detailed Description

Root namespace for the delegate interfaces.

Typedef Documentation

◆ AclDelegatePtr

◆ AddRoleMemberDelegatePtr

Pointer to AddRoleMemberDelegate that is passed into:

  • cbe::Group::AddMember(AddRoleMemberDelegatePtr).

◆ BanDelegatePtr

using cbe::delegate::BanDelegatePtr = typedef std::shared_ptr<BanDelegate>

◆ CloudBackendListenerDelegatePtr

◆ CreateAccountDelegatePtr

Pointer to CreateAccountDelegate that is passed into:
CloudBackend::createAccount(const std::string&,const std::string&,const std::string&,const std::string&,const std::string&,const std::string&,CreateAccountDelegatePtr).

◆ CreateContainerDelegatePtr

◆ CreateGroupDelegatePtr

Pointer to CreateGroupDelegate that is passed into:
Group::createGroup(std::string,std::string,CreateGroupDelegatePtr,cbe::Visibility).

◆ CreateObjectDelegatePtr

Pointer to CreateObjectDelegate that is passed into:
Container::createObject(std::string,CreateObjectDelegatePtr,cbe::KeyValues).

◆ CreateRoleDelegatePtr

◆ DownloadBinaryDelegatePtr

Pointer to DownloadBinaryDelegate that is passed into:

  • cbe::Object::download(DownloadBinaryDelegatePtr)

◆ DownloadDelegatePtr

◆ GetStreamsDelegatePtr

◆ GetSubscriptionsDelegatePtr

◆ ICloudBackendListenerPtr

◆ JoinDelegatePtr

typedef std::shared_ptr< JoinDelegate > cbe::delegate::JoinDelegatePtr

Pointer to JoinDelegate that is passed into cbe::QueryChain::join().

Note
This is different from the group join.

◆ KickDelegatePtr

using cbe::delegate::KickDelegatePtr = typedef std::shared_ptr<KickDelegate>

◆ LeaveDelegatePtr

using cbe::delegate::LeaveDelegatePtr = typedef std::shared_ptr<LeaveDelegate>

Pointer to LeaveDelegate that is passed into:
Group::leave(LeaveDelegatePtr).

◆ ListGroupsDelegatePtr

◆ ListMembersDelegatePtr

◆ ListRolesDelegatePtr

using cbe::delegate::ListRolesDelegatePtr = typedef std::shared_ptr<ListRolesDelegate>

Pointer to ListRolesDelegate that is passed into:

  • cbe::Group::ListRoles(ListRolesDelegatePtr).

◆ ListSharesDelegatePtr

◆ LogInDelegatePtr

using cbe::delegate::LogInDelegatePtr = typedef std::shared_ptr<LogInDelegate>

Pointer to LogInDelegate that is passed into:

  • cbe::CloudBackend::logIn(const std::string&,const std::string&,const std::string&,LogInDelegatePtr)

◆ ProgressEventFn

using cbe::delegate::ProgressEventFn = typedef std::function<void(const ChunkTransferred&)>

Callback interface function that the CloudBackend SDK uses to indicate the progress of an upload/download.

◆ PublishDelegatePtr

◆ QueryDelegatePtr

◆ QueryJoinDelegatePtr

◆ RemoveRoleDelegatePtr

using cbe::delegate::RemoveRoleDelegatePtr = typedef std::shared_ptr<RemoveRoleDelegate>

Pointer to RemoveRoleDelegate that is passed into:
Group::removeRole(std::string, RemoveRoleDelegatePtr).

◆ RemoveRoleMemberDelegatePtr

Pointer to RemoveRoleMemberDelegate that is passed into:

  • cbe::Group::RemoveMember(RemoveRoleMemberDelegatePtr).

◆ SearchGroupsDelegatePtr

◆ ShareDelegatePtr

◆ SubscribeDelegatePtr

◆ UnBanDelegatePtr

using cbe::delegate::UnBanDelegatePtr = typedef std::shared_ptr<UnBanDelegate>

Pointer to UnBanDelegate that is passed into:

◆ UnPublishDelegatePtr

◆ UnShareDelegatePtr

◆ UnSubscribeDelegatePtr

◆ UpdateKeyValuesDelegatePtr

◆ UploadDelegatePtr