#include <isolate_name_server.h>
Definition at line 17 of file isolate_name_server.h.
◆ IsolateNameServer()
flutter::IsolateNameServer::IsolateNameServer |
( |
| ) |
|
◆ ~IsolateNameServer()
flutter::IsolateNameServer::~IsolateNameServer |
( |
| ) |
|
|
default |
◆ LookupIsolatePortByName()
Dart_PortEx flutter::IsolateNameServer::LookupIsolatePortByName |
( |
const std::string & |
name | ) |
|
Definition at line 13 of file isolate_name_server.cc.
14 {
15 std::scoped_lock lock(mutex_);
16 return LookupIsolatePortByNameUnprotected(
name);
17}
DEF_SWITCHES_START aot vmservice shared library name
◆ RegisterIsolatePortWithName()
bool flutter::IsolateNameServer::RegisterIsolatePortWithName |
( |
Dart_PortEx |
port, |
|
|
const std::string & |
name |
|
) |
| |
Definition at line 28 of file isolate_name_server.cc.
29 {
30 std::scoped_lock lock(mutex_);
32
33 return false;
34 }
36 return true;
37}
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir Path to the cache directory This is different from the persistent_cache_path in embedder which is used for Skia shader cache icu native lib Path to the library file that exports the ICU data vm service The hostname IP address on which the Dart VM Service should be served If not defaults to or::depending on whether ipv6 is specified vm service port
◆ RemoveIsolateNameMapping()
bool flutter::IsolateNameServer::RemoveIsolateNameMapping |
( |
const std::string & |
name | ) |
|
Definition at line 39 of file isolate_name_server.cc.
39 {
40 std::scoped_lock lock(mutex_);
41 auto port_iterator = port_mapping_.find(
name);
42 if (port_iterator == port_mapping_.end()) {
43 return false;
44 }
45 port_mapping_.erase(port_iterator);
46 return true;
47}
The documentation for this class was generated from the following files: