AWS IoT Device SDK C++ v2  1.34.0
AWS IoT Device SDK C++ v2
Public Member Functions | List of all members
Aws::Greengrass::SubscribeToComponentUpdatesStreamHandler Class Reference

#include <GreengrassCoreIpcModel.h>

Inheritance diagram for Aws::Greengrass::SubscribeToComponentUpdatesStreamHandler:
Aws::Eventstreamrpc::StreamResponseHandler

Public Member Functions

virtual void OnStreamEvent (ComponentUpdatePolicyEvents *response)
 
virtual bool OnStreamError (RpcError rpcError)
 
virtual bool OnStreamError (ServiceError *operationError)
 
virtual bool OnStreamError (ResourceNotFoundError *operationError)
 
virtual bool OnStreamError (OperationError *operationError)
 
- Public Member Functions inherited from Aws::Eventstreamrpc::StreamResponseHandler
virtual ~StreamResponseHandler () noexcept=default
 
virtual void OnStreamClosed ()
 

Additional Inherited Members

Member Function Documentation

◆ OnStreamError() [1/4]

virtual bool Aws::Greengrass::SubscribeToComponentUpdatesStreamHandler::OnStreamError ( OperationError operationError)
inlinevirtual

A callback that is invoked upon receiving ANY error response from the server.

Parameters
operationErrorThe error message being received.

◆ OnStreamError() [2/4]

virtual bool Aws::Greengrass::SubscribeToComponentUpdatesStreamHandler::OnStreamError ( ResourceNotFoundError operationError)
inlinevirtual

A callback that is invoked upon receiving an error of type ResourceNotFoundError.

Parameters
operationErrorThe error message being received.

◆ OnStreamError() [3/4]

virtual bool Aws::Greengrass::SubscribeToComponentUpdatesStreamHandler::OnStreamError ( RpcError  rpcError)
inlinevirtual

A callback that is invoked when an error occurs while parsing a message from the stream.

Parameters
rpcErrorThe RPC error containing the status and possibly a CRT error.

◆ OnStreamError() [4/4]

virtual bool Aws::Greengrass::SubscribeToComponentUpdatesStreamHandler::OnStreamError ( ServiceError operationError)
inlinevirtual

A callback that is invoked upon receiving an error of type ServiceError.

Parameters
operationErrorThe error message being received.

◆ OnStreamEvent()

virtual void Aws::Greengrass::SubscribeToComponentUpdatesStreamHandler::OnStreamEvent ( ComponentUpdatePolicyEvents response)
inlinevirtual

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