5#ifndef RUNTIME_BIN_VMSERVICE_IMPL_H_
6#define RUNTIME_BIN_VMSERVICE_IMPL_H_
18 static bool Setup(
const char* server_ip,
21 bool auth_codes_disabled,
22 const char* write_service_info_filename,
25 bool enable_service_port_fallback,
26 bool wait_for_dds_to_advertise_service,
28 bool serve_observatory,
37 return "VM Service not suppported in Product mode";
45 static bool Setup(
const char* server_ip,
48 bool auth_codes_disabled,
49 const char* write_service_info_filename,
52 bool enable_service_port_fallback,
53 bool wait_for_dds_to_advertise_service,
55 bool serve_observatory,
67 static constexpr intptr_t kServerUriStringBufferSize = 1024;
70 static void SetServerAddress(
const char* server_uri_);
72 static const char* error_msg_;
73 static char server_uri_[kServerUriStringBufferSize];
75 DISALLOW_ALLOCATION();
76 DISALLOW_IMPLICIT_CONSTRUCTORS(
VmService);
static const char * GetErrorMessage()
static const char * GetServerAddress()
static void SetNativeResolver()
static bool Setup(const char *server_ip, intptr_t server_port, bool dev_mode_server, bool auth_codes_disabled, const char *write_service_info_filename, bool trace_loading, bool deterministic, bool enable_service_port_fallback, bool wait_for_dds_to_advertise_service, bool serve_devtools, bool serve_observatory, bool print_dtd)
friend void NotifyServerState(Dart_NativeArguments args)
struct _Dart_NativeArguments * Dart_NativeArguments
G_BEGIN_DECLS G_MODULE_EXPORT FlValue * args