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

#include <CreateObjectDelegate.h>

Classes

struct  ErrorInfo
 

Public Types

using Success = cbe::Object
 
using Error = delegate::Error
 

Public Member Functions

virtual void onCreateObjectSuccess (cbe::Object &&object)=0
 
virtual void onCreateObjectError (Error &&error, cbe::util::Context &&context)=0
 

Detailed Description

Delegate class for the asynchronous version of method:

Member Function Documentation

◆ onCreateObjectError()

virtual void cbe::delegate::CreateObjectDelegate::onCreateObjectError ( Error &&  error,
cbe::util::Context &&  context 
)
pure virtual

Called if an error is encountered.

◆ onCreateObjectSuccess()

virtual void cbe::delegate::CreateObjectDelegate::onCreateObjectSuccess ( cbe::Object &&  object)
pure virtual

Called upon successful CreateObject.

Parameters
objectInstance of Object that is being created.

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