5#ifndef FLUTTER_LIB_UI_ISOLATE_NAME_SERVER_ISOLATE_NAME_SERVER_H_
6#define FLUTTER_LIB_UI_ISOLATE_NAME_SERVER_ISOLATE_NAME_SERVER_H_
12#include "flutter/fml/macros.h"
13#include "third_party/dart/runtime/include/dart_api.h"
36 Dart_PortEx LookupIsolatePortByNameUnprotected(
const std::string&
name);
38 mutable std::mutex mutex_;
39 std::map<std::string, Dart_PortEx> port_mapping_;
bool RegisterIsolatePortWithName(Dart_PortEx port, const std::string &name)
Dart_PortEx LookupIsolatePortByName(const std::string &name)
bool RemoveIsolateNameMapping(const std::string &name)
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