SDK  2.1.4 [async]
CloudBackend Software Development Kit - SDK API for C++
cbe::delegate::ShareDelegate Class Referenceabstract

#include <ShareDelegate.h>

Classes

struct  ErrorInfo
 

Public Types

using Success = ShareSuccess
 
using Error = delegate::Error
 

Public Member Functions

virtual void onShareSuccess (cbe::ShareId shareId)=0
 
virtual void onShareError (Error &&error, cbe::util::Context &&context)=0
 

Detailed Description

Delegate class for the asynchronous version of methods:

Member Function Documentation

◆ onShareError()

virtual void cbe::delegate::ShareDelegate::onShareError ( Error &&  error,
cbe::util::Context &&  context 
)
pure virtual

Called if an error is encountered.

◆ onShareSuccess()

virtual void cbe::delegate::ShareDelegate::onShareSuccess ( cbe::ShareId  shareId)
pure virtual

Called upon successful share.

Parameters
shareIdId of the share.
Can be used when unsharing.
See Asynchronous version of cbe::Object::unshare()

The documentation for this class was generated from the following file: