AWS IoT Device SDK C++ v2
1.34.0
AWS IoT Device SDK C++ v2
|
#include <EventStreamClient.h>
Public Member Functions | |
ClientOperation (ClientConnection &connection, std::shared_ptr< StreamResponseHandler > streamHandler, const OperationModelContext &operationModelContext, Crt::Allocator *allocator) noexcept | |
~ClientOperation () noexcept | |
ClientOperation (const ClientOperation &clientOperation) noexcept=delete | |
ClientOperation (ClientOperation &&clientOperation) noexcept=delete | |
bool | operator= (const ClientOperation &clientOperation) noexcept=delete |
bool | operator= (ClientOperation &&clientOperation) noexcept=delete |
std::future< RpcError > | Close (OnMessageFlushCallback onMessageFlushCallback=nullptr) noexcept |
std::future< TaggedResult > | GetOperationResult () noexcept |
void | WithLaunchMode (std::launch mode) noexcept |
Public Member Functions inherited from Aws::Eventstreamrpc::ClientContinuationHandler | |
virtual | ~ClientContinuationHandler () noexcept=default |
Protected Member Functions | |
std::future< RpcError > | Activate (const AbstractShapeBase *shape, OnMessageFlushCallback onMessageFlushCallback) noexcept |
virtual Crt::String | GetModelName () const noexcept=0 |
Protected Attributes | |
const OperationModelContext & | m_operationModelContext |
std::launch | m_asyncLaunchMode |
Interface for an RPC operation.
|
noexcept |
|
noexcept |
|
deletenoexcept |
|
deletenoexcept |
|
protectednoexcept |
Initiate a new client stream. Send the shape for the new stream.
shape | A parameter for RPC operation. |
onMessageFlushCallback | Callback to invoke when the shape is flushed to the underlying transport. |
|
noexcept |
Close the stream on which operation is sent.
onMessageFlushCallback | Callback to invoke when the closing message is flushed to the underlying transport. |
|
protectedpure virtualnoexcept |
Returns the canonical model name associated with this operation across any client language. Namespace included.
Implemented in Aws::Greengrass::CreateLocalDeploymentOperation, Aws::Greengrass::PauseComponentOperation, Aws::Greengrass::StopComponentOperation, Aws::Greengrass::ListLocalDeploymentsOperation, Aws::Greengrass::SubscribeToComponentUpdatesOperation, Aws::Greengrass::ListNamedShadowsForThingOperation, Aws::Greengrass::CancelLocalDeploymentOperation, Aws::Greengrass::UpdateStateOperation, Aws::Greengrass::GetSecretValueOperation, Aws::Greengrass::GetLocalDeploymentStatusOperation, Aws::Greengrass::RestartComponentOperation, Aws::Greengrass::ValidateAuthorizationTokenOperation, Aws::Greengrass::UpdateConfigurationOperation, Aws::Greengrass::UpdateThingShadowOperation, Aws::Greengrass::SendConfigurationValidityReportOperation, Aws::Greengrass::GetThingShadowOperation, Aws::Greengrass::CreateDebugPasswordOperation, Aws::Greengrass::ListComponentsOperation, Aws::Greengrass::AuthorizeClientDeviceActionOperation, Aws::Greengrass::VerifyClientDeviceIdentityOperation, Aws::Greengrass::SubscribeToCertificateUpdatesOperation, Aws::Greengrass::PublishToTopicOperation, Aws::Greengrass::GetClientDeviceAuthTokenOperation, Aws::Greengrass::GetComponentDetailsOperation, Aws::Greengrass::SubscribeToTopicOperation, Aws::Greengrass::GetConfigurationOperation, Aws::Greengrass::SubscribeToValidateConfigurationUpdatesOperation, Aws::Greengrass::DeferComponentUpdateOperation, Aws::Greengrass::PutComponentMetricOperation, Aws::Greengrass::DeleteThingShadowOperation, Aws::Greengrass::SubscribeToConfigurationUpdateOperation, Aws::Greengrass::PublishToIoTCoreOperation, Aws::Greengrass::ResumeComponentOperation, and Aws::Greengrass::SubscribeToIoTCoreOperation.
|
noexcept |
Get an operation result.
|
deletenoexcept |
|
deletenoexcept |
|
noexcept |
Set the launch mode for executing operations. The mode is set to std::launch::deferred by default.
mode | The launch mode to use. |
|
protected |
|
protected |