AWS IoT Device SDK C++ v2  1.39.0
AWS IoT Device SDK C++ v2
Public Member Functions | List of all members
Aws::Eventstreamrpc::ConnectionCallbackContext Class Reference

Public Member Functions

 ConnectionCallbackContext ()
 
 ConnectionCallbackContext (const std::function< void(RpcError)> &disconnectionCallback, const std::function< bool(RpcError)> &errorCallback, const std::function< void()> &connectionSuccessCallback)
 
 ConnectionCallbackContext (std::function< void(RpcError)> &&disconnectionCallback, std::function< bool(RpcError)> &&errorCallback, std::function< void()> &&connectionSuccessCallback)
 
 ConnectionCallbackContext (ConnectionCallbackContext &&rhs) noexcept
 
ConnectionCallbackContextoperator= (ConnectionCallbackContext &&rhs) noexcept
 
void InvokeCallbacks ()
 
ConnectionCallbackContext TransitionToConnected ()
 
void SetAction (ConnectionCallbackActionType action)
 
void SetError (RpcError error)
 
std::future< RpcErrorGetConnectPromiseFuture ()
 

Constructor & Destructor Documentation

◆ ConnectionCallbackContext() [1/4]

Aws::Eventstreamrpc::ConnectionCallbackContext::ConnectionCallbackContext ( )
inline

◆ ConnectionCallbackContext() [2/4]

Aws::Eventstreamrpc::ConnectionCallbackContext::ConnectionCallbackContext ( const std::function< void(RpcError)> &  disconnectionCallback,
const std::function< bool(RpcError)> &  errorCallback,
const std::function< void()> &  connectionSuccessCallback 
)
inline

◆ ConnectionCallbackContext() [3/4]

Aws::Eventstreamrpc::ConnectionCallbackContext::ConnectionCallbackContext ( std::function< void(RpcError)> &&  disconnectionCallback,
std::function< bool(RpcError)> &&  errorCallback,
std::function< void()> &&  connectionSuccessCallback 
)
inline

◆ ConnectionCallbackContext() [4/4]

Aws::Eventstreamrpc::ConnectionCallbackContext::ConnectionCallbackContext ( ConnectionCallbackContext &&  rhs)
inlinenoexcept

Member Function Documentation

◆ GetConnectPromiseFuture()

std::future<RpcError> Aws::Eventstreamrpc::ConnectionCallbackContext::GetConnectPromiseFuture ( )
inline

◆ InvokeCallbacks()

void Aws::Eventstreamrpc::ConnectionCallbackContext::InvokeCallbacks ( )
inline

◆ operator=()

ConnectionCallbackContext& Aws::Eventstreamrpc::ConnectionCallbackContext::operator= ( ConnectionCallbackContext &&  rhs)
inlinenoexcept

◆ SetAction()

void Aws::Eventstreamrpc::ConnectionCallbackContext::SetAction ( ConnectionCallbackActionType  action)
inline

◆ SetError()

void Aws::Eventstreamrpc::ConnectionCallbackContext::SetError ( RpcError  error)
inline

◆ TransitionToConnected()

ConnectionCallbackContext Aws::Eventstreamrpc::ConnectionCallbackContext::TransitionToConnected ( )
inline

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