C++  1.4.6
CloudBackend Software Development Kit - SDK API for C++
Public Member Functions | List of all members
CBE::AccountEventProtocol Class Reference

Public Member Functions

virtual void onLogin (uint32_t atState, CBE::CloudBackendPtr cloudbackend)
 
virtual void onLogout (uint32_t atState)
 
virtual void onCreated (uint32_t atState)
 
virtual void onError (uint32_t failedAtState, uint32_t code, std::string reason, std::string message)
 

Member Function Documentation

◆ onLogin()

virtual void CBE::AccountEventProtocol::onLogin ( uint32_t  atState,
CBE::CloudBackendPtr  cloudbackend 
)
inlinevirtual

Gets called when the account status has changed on login (required).

Parameters
atStateprocess state
cloudbackendthe instance of cloudbackend giving the user access to online session data

◆ onLogout()

virtual void CBE::AccountEventProtocol::onLogout ( uint32_t  atState)
inlinevirtual
Deprecated:
Gets called when the account status has changed on logout.

◆ onCreated()

virtual void CBE::AccountEventProtocol::onCreated ( uint32_t  atState)
inlinevirtual

Gets called when the account status has changed after creating a new user (priviledged call).

Parameters
atStateprocess state

◆ onError()

virtual void CBE::AccountEventProtocol::onError ( uint32_t  failedAtState,
uint32_t  code,
std::string  reason,
std::string  message 
)
inlinevirtual

Gets called when the account status has encountered an error (required).

Parameters
failedAtStateprocess state
codeHTTP status error code
reasonerror group
messagespecific error explanation

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