#include <isolate_name_server_natives.h>
◆ LookupPortByName()
Dart_Handle flutter::IsolateNameServerNatives::LookupPortByName |
( |
const std::string & |
name | ) |
|
|
static |
Definition at line 16 of file isolate_name_server_natives.cc.
17 {
19 if (!name_server) {
21 }
25 }
27}
std::shared_ptr< IsolateNameServer > GetIsolateNameServer() const
static UIDartState * Current()
DART_EXPORT Dart_Handle Dart_NewSendPortEx(Dart_PortEx portex_id)
DART_EXPORT Dart_Handle Dart_Null(void)
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
DEF_SWITCHES_START aot vmservice shared library name
◆ RegisterPortWithName()
bool flutter::IsolateNameServerNatives::RegisterPortWithName |
( |
Dart_Handle |
port_handle, |
|
|
const std::string & |
name |
|
) |
| |
|
static |
Definition at line 29 of file isolate_name_server_natives.cc.
30 {
32 if (!name_server) {
33 return false;
34 }
37 if (!name_server->RegisterIsolatePortWithName(
port,
name)) {
38 return false;
39 }
40 return true;
41}
DART_EXPORT Dart_Handle Dart_SendPortGetIdEx(Dart_Handle port, Dart_PortEx *portex_id)
◆ RemovePortNameMapping()
bool flutter::IsolateNameServerNatives::RemovePortNameMapping |
( |
const std::string & |
name | ) |
|
|
static |
The documentation for this class was generated from the following files: