AWS SDK for C++AWS SDK for C++ Version 1.11.788 |
#include <EventStreamHandler.h>
Handler of event stream. Includes context and callback function while scanning the event stream.
Definition at line 34 of file EventStreamHandler.h.
Definition at line 37 of file EventStreamHandler.h.
Definition at line 136 of file EventStreamHandler.h.
Definition at line 138 of file EventStreamHandler.h.
Convert underlying byte array to string without transferring ownership.
Definition at line 125 of file EventStreamHandler.h.
Get underlying byte array of the message just received.
Definition at line 120 of file EventStreamHandler.h.
Get internal Event Stream Errors.
Definition at line 77 of file EventStreamHandler.h.
Insert event header to a underlying event header value map, and update headers bytes received.
Definition at line 130 of file EventStreamHandler.h.
The message is considered to completed with the following scenarios:
Definition at line 88 of file EventStreamHandler.h.
Entry point of all callback functions. Will trigger associated functions based on m_message.
Whether or not flow handler is in a good state. Return false if handler encounters errors.
Definition at line 46 of file EventStreamHandler.h.
Clean up current bytes of data received, as well as the latest message.
Definition at line 56 of file EventStreamHandler.h.
Fail the handler from outside.
Definition at line 51 of file EventStreamHandler.h.
0)
Set internal Event Stream Errors, which is associated with errors in aws-c-event-stream library.
Definition at line 69 of file EventStreamHandler.h.
Set message metadata, including total message length, headers length and payload length.
Definition at line 96 of file EventStreamHandler.h.
Write data to underlying stream, and update payload bytes received.
Definition at line 111 of file EventStreamHandler.h.