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

#include <GreengrassCoreIpcModel.h>

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

Public Member Functions

virtual void OnStreamEvent (SubscriptionResponseMessage *response)
 
virtual bool OnStreamError (RpcError rpcError)
 
virtual bool OnStreamError (InvalidArgumentsError *operationError)
 
virtual bool OnStreamError (ServiceError *operationError)
 
virtual bool OnStreamError (UnauthorizedError *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/5]

virtual bool Aws::Greengrass::SubscribeToTopicStreamHandler::OnStreamError ( InvalidArgumentsError operationError)
inlinevirtual

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

Parameters
operationErrorThe error message being received.

◆ OnStreamError() [2/5]

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

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

Parameters
operationErrorThe error message being received.

◆ OnStreamError() [3/5]

virtual bool Aws::Greengrass::SubscribeToTopicStreamHandler::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/5]

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

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

Parameters
operationErrorThe error message being received.

◆ OnStreamError() [5/5]

virtual bool Aws::Greengrass::SubscribeToTopicStreamHandler::OnStreamError ( UnauthorizedError operationError)
inlinevirtual

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

Parameters
operationErrorThe error message being received.

◆ OnStreamEvent()

virtual void Aws::Greengrass::SubscribeToTopicStreamHandler::OnStreamEvent ( SubscriptionResponseMessage response)
inlinevirtual

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