AWS IoT Device SDK C++ v2
1.34.0
AWS IoT Device SDK C++ v2
|
Go to the documentation of this file.
9 #include <aws/io/socket.h>
24 Stream = AWS_SOCKET_STREAM,
31 Dgram = AWS_SOCKET_DGRAM,
36 IPv4 = AWS_SOCKET_IPV4,
37 IPv6 = AWS_SOCKET_IPV6,
41 Local = AWS_SOCKET_LOCAL,
97 options.keep_alive_interval_sec = keepAliveInterval;
112 options.keep_alive_timeout_sec = keepAliveTimeout;
128 options.keep_alive_max_failed_probes = maxProbes;
148 aws_socket_options &GetImpl() {
return options; }
150 const aws_socket_options &GetImpl()
const {
return options; }
153 aws_socket_options options;
void SetSocketDomain(SocketDomain domain)
Definition: SocketOptions.h:72
uint16_t GetKeepAliveTimeoutSec() const
Definition: SocketOptions.h:119
void SetKeepAliveMaxFailedProbes(uint16_t maxProbes)
Definition: SocketOptions.h:126
SocketOptions & operator=(SocketOptions &&rhs)=default
void SetConnectTimeoutMs(uint32_t timeout)
Definition: SocketOptions.h:83
uint32_t GetConnectTimeoutMs() const
Definition: SocketOptions.h:88
void SetKeepAlive(bool keepAlive)
Definition: SocketOptions.h:140
SocketType GetSocketType() const
Definition: SocketOptions.h:66
SocketOptions(const SocketOptions &rhs)=default
Definition: SocketOptions.h:48
#define AWS_CRT_CPP_API
Definition: Exports.h:37
SocketDomain
Definition: SocketOptions.h:35
Definition: Allocator.h:11
SocketOptions(SocketOptions &&rhs)=default
SocketOptions & operator=(const SocketOptions &rhs)=default
void SetSocketType(SocketType type)
Definition: SocketOptions.h:61
uint16_t GetKeepAliveIntervalSec() const
Definition: SocketOptions.h:103
uint16_t GetKeepAliveMaxFailedProbes() const
Definition: SocketOptions.h:134
void SetKeepAliveTimeoutSec(uint16_t keepAliveTimeout)
Definition: SocketOptions.h:110
bool GetKeepAlive() const
Definition: SocketOptions.h:145
SocketType
Definition: SocketOptions.h:18
SocketDomain GetSocketDomain() const
Definition: SocketOptions.h:77
void SetKeepAliveIntervalSec(uint16_t keepAliveInterval)
Definition: SocketOptions.h:95