#include <service_protocol.h>
Definition at line 37 of file service_protocol.h.
◆ Description() [1/2]
flutter::ServiceProtocol::Handler::Description::Description |
( |
| ) |
|
|
inline |
◆ Description() [2/2]
flutter::ServiceProtocol::Handler::Description::Description |
( |
int64_t |
p_isolate_port, |
|
|
std::string |
p_isolate_name |
|
) |
| |
|
inline |
◆ Write()
void flutter::ServiceProtocol::Handler::Description::Write |
( |
Handler * |
handler, |
|
|
rapidjson::Value & |
value, |
|
|
rapidjson::MemoryPoolAllocator<> & |
allocator |
|
) |
| const |
Definition at line 246 of file service_protocol.cc.
249 {
250 view.SetObject();
251 view.AddMember("type", "FlutterView", allocator);
253 allocator);
255 rapidjson::Value isolate(rapidjson::Type::kObjectType);
256 {
257 isolate.AddMember("type", "@Isolate", allocator);
258 isolate.AddMember("fixedId", true, allocator);
262 }
263 view.AddMember("isolate", isolate, allocator);
264 }
265}
static std::string CreateIsolateID(int64_t isolate)
static std::string CreateFlutterViewID(intptr_t handler)
◆ isolate_name
std::string flutter::ServiceProtocol::Handler::Description::isolate_name |
◆ isolate_port
int64_t flutter::ServiceProtocol::Handler::Description::isolate_port = 0 |
The documentation for this struct was generated from the following files: