AWS IoT Device SDK C++ v2 1.44.1
AWS IoT Device SDK C++ v2
Loading...
Searching...
No Matches
Aws::Iotsecuretunneling Namespace Reference

Classes

class  ConnectionData
class  ConnectionResetData
struct  ConnectionResetEventData
class  ConnectionStartedData
struct  ConnectionStartedEventData
struct  ConnectionSuccessEventData
class  IotSecureTunnelingClient
class  Message
struct  MessageReceivedEventData
class  SecureTunnel
class  SecureTunnelBuilder
class  SecureTunnelingNotifyResponse
class  SendMessageCompleteData
struct  SendMessageCompleteEventData
class  StreamStartedData
struct  StreamStartedEventData
class  StreamStoppedData
struct  StreamStoppedEventData
class  SubscribeToTunnelsNotifyRequest

Typedefs

using OnSubscribeComplete = std::function<void(int ioErr)>
using OnPublishComplete = std::function<void(int ioErr)>
using OnSubscribeToTunnelsNotifyResponse
using OnConnectionSuccess = std::function<void(SecureTunnel *secureTunnel, const ConnectionSuccessEventData &)>
using OnConnectionFailure = std::function<void(SecureTunnel *secureTunnel, int errorCode)>
using OnConnectionShutdown = std::function<void(void)>
using OnSendMessageComplete
using OnMessageReceived = std::function<void(SecureTunnel *secureTunnel, const MessageReceivedEventData &)>
using OnStreamStarted
using OnStreamStopped = std::function<void(SecureTunnel *secureTunnel, const StreamStoppedEventData &)>
using OnConnectionStarted
using OnConnectionReset
using OnSessionReset = std::function<void(void)>
using OnStopped = std::function<void(SecureTunnel *secureTunnel)>
using OnConnectionComplete = std::function<void(void)>
using OnDataReceive = std::function<void(const Crt::ByteBuf &data)>
using OnStreamStart = std::function<void()>
using OnStreamReset = std::function<void(void)>
using OnSendDataComplete = std::function<void(int errorCode)>

Functions

void setPacketByteBufOptional (Crt::Optional< Crt::ByteCursor > &optional, Crt::ByteBuf &optionalStorage, Crt::Allocator *allocator, const Crt::ByteCursor *value)
void setPacketStringOptional (Crt::Optional< Crt::ByteCursor > &optional, Crt::String &optionalStorage, const aws_byte_cursor *value)

Typedef Documentation

◆ OnConnectionComplete

◆ OnConnectionFailure

using Aws::Iotsecuretunneling::OnConnectionFailure = std::function<void(SecureTunnel *secureTunnel, int errorCode)>

Type signature of the callback invoked when connection is established with the secure tunnel service and available service ids are returned.

◆ OnConnectionReset

Initial value:
std::function<void(SecureTunnel *secureTunnel, int errorCode, const ConnectionResetEventData &)>
Definition SecureTunnel.h:956

Type signature of the callback invoked when a connection has been reset

◆ OnConnectionShutdown

using Aws::Iotsecuretunneling::OnConnectionShutdown = std::function<void(void)>

Type signature of the callback invoked when connection is shutdown.

◆ OnConnectionStarted

Initial value:
std::function<void(SecureTunnel *secureTunnel, int errorCode, const ConnectionStartedEventData &)>

Type signature of the callback invoked when a connection has been started with a source through the secure tunnel connection.

◆ OnConnectionSuccess

using Aws::Iotsecuretunneling::OnConnectionSuccess = std::function<void(SecureTunnel *secureTunnel, const ConnectionSuccessEventData &)>

Type signature of the callback invoked when connection is established with the secure tunnel service and available service ids are returned.

◆ OnDataReceive

using Aws::Iotsecuretunneling::OnDataReceive = std::function<void(const Crt::ByteBuf &data)>

Deprecated - Use OnMessageReceived

◆ OnMessageReceived

using Aws::Iotsecuretunneling::OnMessageReceived = std::function<void(SecureTunnel *secureTunnel, const MessageReceivedEventData &)>

Type signature of the callback invoked when a message is received through the secure tunnel connection.

◆ OnPublishComplete

using Aws::Iotsecuretunneling::OnPublishComplete = std::function<void(int ioErr)>

◆ OnSendDataComplete

using Aws::Iotsecuretunneling::OnSendDataComplete = std::function<void(int errorCode)>

Deprecated - Use OnSendMessageComplete

◆ OnSendMessageComplete

Initial value:
std::function<void(SecureTunnel *secureTunnel, int errorCode, const SendMessageCompleteEventData &)>

Type signature of the callback invoked when message has been sent through the secure tunnel connection.

◆ OnSessionReset

using Aws::Iotsecuretunneling::OnSessionReset = std::function<void(void)>

Type signature of the callback invoked when the secure tunnel receives a Session Reset.

◆ OnStopped

using Aws::Iotsecuretunneling::OnStopped = std::function<void(SecureTunnel *secureTunnel)>

Type signature of the callback invoked when the secure tunnel completes transitioning to a stopped state.

◆ OnStreamReset

using Aws::Iotsecuretunneling::OnStreamReset = std::function<void(void)>

Deprecated - Use OnStreamStopped

◆ OnStreamStart

using Aws::Iotsecuretunneling::OnStreamStart = std::function<void()>

Deprecated - Use OnStreamStarted

◆ OnStreamStarted

Initial value:
std::function<void(SecureTunnel *secureTunnel, int errorCode, const StreamStartedEventData &)>

Type signature of the callback invoked when a stream has been started with a source through the secure tunnel connection.

◆ OnStreamStopped

using Aws::Iotsecuretunneling::OnStreamStopped = std::function<void(SecureTunnel *secureTunnel, const StreamStoppedEventData &)>

Type signature of the callback invoked when a stream has been closed

◆ OnSubscribeComplete

using Aws::Iotsecuretunneling::OnSubscribeComplete = std::function<void(int ioErr)>

◆ OnSubscribeToTunnelsNotifyResponse

Function Documentation

◆ setPacketByteBufOptional()

void Aws::Iotsecuretunneling::setPacketByteBufOptional ( Crt::Optional< Crt::ByteCursor > & optional,
Crt::ByteBuf & optionalStorage,
Crt::Allocator * allocator,
const Crt::ByteCursor * value )

◆ setPacketStringOptional()

void Aws::Iotsecuretunneling::setPacketStringOptional ( Crt::Optional< Crt::ByteCursor > & optional,
Crt::String & optionalStorage,
const aws_byte_cursor * value )