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

#include <LeaveDelegate.h>

Classes

struct  ErrorInfo
 

Public Types

using Success = LeaveSuccess
 
using Error = delegate::Error
 

Public Member Functions

virtual void onLeaveSuccess (std::string &&memberName, cbe::MemberId memberId)=0
 
virtual void onLeaveError (Error &&error, cbe::util::Context &&context)=0
 

Detailed Description

Delegate class for the asynchronous version of method:

Member Function Documentation

◆ onLeaveError()

virtual void cbe::delegate::LeaveDelegate::onLeaveError ( Error &&  error,
cbe::util::Context &&  context 
)
pure virtual

Called if an error is encountered.

◆ onLeaveSuccess()

virtual void cbe::delegate::LeaveDelegate::onLeaveSuccess ( std::string &&  memberName,
cbe::MemberId  memberId 
)
pure virtual

Called upon successful leave.


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