#include <engine_method_result.h>
Definition at line 22 of file engine_method_result.h.
◆ ReplyManager() [1/2]
flutter::internal::ReplyManager::ReplyManager |
( |
BinaryReply |
reply_handler_ | ) |
|
|
explicit |
Definition at line 134 of file core_implementations.cc.
135 : reply_handler_(std::move(reply_handler)) {
136 assert(reply_handler_);
◆ ~ReplyManager()
flutter::internal::ReplyManager::~ReplyManager |
( |
| ) |
|
Definition at line 139 of file core_implementations.cc.
140 if (reply_handler_) {
144 <<
"Warning: Failed to respond to a message. This is a memory leak."
◆ ReplyManager() [2/2]
flutter::internal::ReplyManager::ReplyManager |
( |
ReplyManager const & |
| ) |
|
|
delete |
◆ operator=()
◆ SendResponseData()
void flutter::internal::ReplyManager::SendResponseData |
( |
const std::vector< uint8_t > * |
data | ) |
|
Definition at line 149 of file core_implementations.cc.
150 if (!reply_handler_) {
152 <<
"Error: Only one of Success, Error, or NotImplemented can be "
154 <<
" and it can be called exactly once. Ignoring duplicate result."
159 const uint8_t* message = data && !data->empty() ? data->data() :
nullptr;
160 size_t message_size = data ? data->size() : 0;
161 reply_handler_(message, message_size);
162 reply_handler_ =
nullptr;
The documentation for this class was generated from the following files: