|
| ObservableMessageRequest (const std::string &jsonContent, std::shared_ptr< avsCommon::avs::attachment::AttachmentReader > attachmentReader=nullptr) |
|
void | sendCompleted (avsCommon::sdkInterfaces::MessageRequestObserverInterface::Status status) override |
|
void | exceptionReceived (const std::string &exceptionMessage) override |
|
avsCommon::sdkInterfaces::MessageRequestObserverInterface::Status | getSendMessageStatus () const |
|
bool | waitFor (const avsCommon::sdkInterfaces::MessageRequestObserverInterface::Status, const std::chrono::seconds=std::chrono::seconds(10)) |
|
bool | hasSendCompleted () |
| Function indicating if sendCompleted has been called. More...
|
|
bool | wasExceptionReceived () |
| Function indicating if exceptionReceived has been called. More...
|
|
| MessageRequest (const std::string &jsonContent, const std::string &uriPathExtension="", const unsigned int threshold=0, const std::string &streamMetricName="") |
|
| MessageRequest (const std::string &jsonContent, const unsigned int threshold, const std::string &streamMetricName) |
|
| MessageRequest (const std::string &jsonContent, bool isSerialized, const std::string &uriPathExtension="", std::vector< std::pair< std::string, std::string >> headers={}, MessageRequestResolveFunction resolver=nullptr, const unsigned int threshold=0, const std::string &streamMetricName="") |
|
| MessageRequest (const MessageRequest &messageRequest) |
|
virtual | ~MessageRequest () |
|
void | addAttachmentReader (const std::string &name, std::shared_ptr< attachment::AttachmentReader > attachmentReader) |
|
std::string | getJsonContent () const |
|
bool | getIsSerialized () const |
|
std::string | getUriPathExtension () const |
|
int | attachmentReadersCount () const |
|
std::shared_ptr< NamedReader > | getAttachmentReader (size_t index) const |
|
virtual void | responseStatusReceived (avsCommon::sdkInterfaces::MessageRequestObserverInterface::Status status) |
|
void | addObserver (std::shared_ptr< avsCommon::sdkInterfaces::MessageRequestObserverInterface > observer) |
|
void | removeObserver (std::shared_ptr< avsCommon::sdkInterfaces::MessageRequestObserverInterface > observer) |
|
const std::vector< std::pair< std::string, std::string > > & | getHeaders () const |
|
bool | isResolved () const |
|
std::shared_ptr< MessageRequest > | resolveRequest (const std::string &resolveKey) const |
|
unsigned int | getStreamBytesThreshold () const |
|
std::string | getStreamMetricName () const |
|