AWS IoT Device SDK C++ v2 1.44.2
AWS IoT Device SDK C++ v2
Loading...
Searching...
No Matches
Aws::Eventstreamrpc::ConnectionConfig Class Reference

#include <EventStreamClient.h>

Inheritance diagram for Aws::Eventstreamrpc::ConnectionConfig:
Aws::Greengrass::DefaultConnectionConfig

Public Member Functions

 ConnectionConfig () noexcept
Crt::Optional< Crt::StringGetHostName () const noexcept
Crt::Optional< uint32_t > GetPort () const noexcept
Crt::Optional< Crt::Io::SocketOptionsGetSocketOptions () const noexcept
Crt::Optional< MessageAmendmentGetConnectAmendment () const noexcept
Crt::Optional< Crt::Io::TlsConnectionOptionsGetTlsConnectionOptions () const noexcept
Crt::Io::ClientBootstrapGetClientBootstrap () const noexcept
OnMessageFlushCallback GetConnectRequestCallback () const noexcept
ConnectMessageAmender GetConnectMessageAmender () const noexcept
void SetHostName (Crt::String hostName) noexcept
void SetPort (uint32_t port) noexcept
void SetSocketOptions (const Crt::Io::SocketOptions &socketOptions) noexcept
void SetConnectAmendment (const MessageAmendment &connectAmendment) noexcept
void SetTlsConnectionOptions (Crt::Io::TlsConnectionOptions tlsConnectionOptions) noexcept
void SetClientBootstrap (Crt::Io::ClientBootstrap *clientBootstrap) noexcept
void SetConnectRequestCallback (OnMessageFlushCallback connectRequestCallback) noexcept
EventStreamRpcStatusCode Validate () const noexcept

Protected Attributes

Crt::Optional< Crt::Stringm_hostName
Crt::Optional< uint32_t > m_port
Crt::Optional< Crt::Io::SocketOptionsm_socketOptions
Crt::Optional< Crt::Io::TlsConnectionOptionsm_tlsConnectionOptions
Crt::Io::ClientBootstrapm_clientBootstrap
MessageAmendment m_connectAmendment
OnMessageFlushCallback m_connectRequestCallback

Detailed Description

Configuration structure holding all configurations relating to eventstream RPC connection establishment

Constructor & Destructor Documentation

◆ ConnectionConfig()

Aws::Eventstreamrpc::ConnectionConfig::ConnectionConfig ( )
inlinenoexcept

Member Function Documentation

◆ GetClientBootstrap()

Crt::Io::ClientBootstrap * Aws::Eventstreamrpc::ConnectionConfig::GetClientBootstrap ( ) const
inlinenoexcept

◆ GetConnectAmendment()

Crt::Optional< MessageAmendment > Aws::Eventstreamrpc::ConnectionConfig::GetConnectAmendment ( ) const
inlinenoexcept

◆ GetConnectMessageAmender()

ConnectMessageAmender Aws::Eventstreamrpc::ConnectionConfig::GetConnectMessageAmender ( ) const
inlinenoexcept

◆ GetConnectRequestCallback()

OnMessageFlushCallback Aws::Eventstreamrpc::ConnectionConfig::GetConnectRequestCallback ( ) const
inlinenoexcept

◆ GetHostName()

Crt::Optional< Crt::String > Aws::Eventstreamrpc::ConnectionConfig::GetHostName ( ) const
inlinenoexcept

◆ GetPort()

Crt::Optional< uint32_t > Aws::Eventstreamrpc::ConnectionConfig::GetPort ( ) const
inlinenoexcept

◆ GetSocketOptions()

Crt::Optional< Crt::Io::SocketOptions > Aws::Eventstreamrpc::ConnectionConfig::GetSocketOptions ( ) const
inlinenoexcept

◆ GetTlsConnectionOptions()

Crt::Optional< Crt::Io::TlsConnectionOptions > Aws::Eventstreamrpc::ConnectionConfig::GetTlsConnectionOptions ( ) const
inlinenoexcept

◆ SetClientBootstrap()

void Aws::Eventstreamrpc::ConnectionConfig::SetClientBootstrap ( Crt::Io::ClientBootstrap * clientBootstrap)
inlinenoexcept

◆ SetConnectAmendment()

void Aws::Eventstreamrpc::ConnectionConfig::SetConnectAmendment ( const MessageAmendment & connectAmendment)
inlinenoexcept

◆ SetConnectRequestCallback()

void Aws::Eventstreamrpc::ConnectionConfig::SetConnectRequestCallback ( OnMessageFlushCallback connectRequestCallback)
inlinenoexcept

◆ SetHostName()

void Aws::Eventstreamrpc::ConnectionConfig::SetHostName ( Crt::String hostName)
inlinenoexcept

◆ SetPort()

void Aws::Eventstreamrpc::ConnectionConfig::SetPort ( uint32_t port)
inlinenoexcept

◆ SetSocketOptions()

void Aws::Eventstreamrpc::ConnectionConfig::SetSocketOptions ( const Crt::Io::SocketOptions & socketOptions)
inlinenoexcept

◆ SetTlsConnectionOptions()

void Aws::Eventstreamrpc::ConnectionConfig::SetTlsConnectionOptions ( Crt::Io::TlsConnectionOptions tlsConnectionOptions)
inlinenoexcept

◆ Validate()

EventStreamRpcStatusCode Aws::Eventstreamrpc::ConnectionConfig::Validate ( ) const
noexcept

Member Data Documentation

◆ m_clientBootstrap

Crt::Io::ClientBootstrap* Aws::Eventstreamrpc::ConnectionConfig::m_clientBootstrap
protected

◆ m_connectAmendment

MessageAmendment Aws::Eventstreamrpc::ConnectionConfig::m_connectAmendment
protected

◆ m_connectRequestCallback

OnMessageFlushCallback Aws::Eventstreamrpc::ConnectionConfig::m_connectRequestCallback
protected

◆ m_hostName

Crt::Optional<Crt::String> Aws::Eventstreamrpc::ConnectionConfig::m_hostName
protected

◆ m_port

Crt::Optional<uint32_t> Aws::Eventstreamrpc::ConnectionConfig::m_port
protected

◆ m_socketOptions

Crt::Optional<Crt::Io::SocketOptions> Aws::Eventstreamrpc::ConnectionConfig::m_socketOptions
protected

◆ m_tlsConnectionOptions

Crt::Optional<Crt::Io::TlsConnectionOptions> Aws::Eventstreamrpc::ConnectionConfig::m_tlsConnectionOptions
protected

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