#include <eventhandler.h>
Definition at line 603 of file eventhandler.h.
◆ EventHandler()
dart::bin::EventHandler::EventHandler |
( |
| ) |
|
|
inline |
◆ delegate()
Definition at line 64 of file eventhandler.cc.
64 {
66 return nullptr;
67 }
69}
static EventHandler * event_handler
◆ NotifyShutdownDone()
void dart::bin::EventHandler::NotifyShutdownDone |
( |
| ) |
|
Signal to main thread that event handler is done.
Definition at line 35 of file eventhandler.cc.
35 {
37 ml.Notify();
38}
static Monitor * shutdown_monitor
◆ SendData()
void dart::bin::EventHandler::SendData |
( |
intptr_t |
id, |
|
|
Dart_Port |
dart_port, |
|
|
int64_t |
data |
|
) |
| |
|
inline |
Definition at line 606 of file eventhandler.h.
606 {
608 }
void SendData(intptr_t id, Dart_Port dart_port, int64_t data)
static int8_t data[kExtLength]
◆ SendFromNative()
void dart::bin::EventHandler::SendFromNative |
( |
intptr_t |
id, |
|
|
Dart_Port |
port, |
|
|
int64_t |
data |
|
) |
| |
|
static |
Definition at line 71 of file eventhandler.cc.
71 {
73}
void SendData(intptr_t id, Dart_Port dart_port, int64_t data)
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
◆ Start()
void dart::bin::EventHandler::Start |
( |
| ) |
|
|
static |
Start the event-handler.
Definition at line 21 of file eventhandler.cc.
21 {
22
24
29
31 FATAL(
"Failed to initialize sockets");
32 }
33}
void Start(EventHandler *handler)
◆ Stop()
void dart::bin::EventHandler::Stop |
( |
| ) |
|
|
static |
Stop the event-handler. It's expected that there will be no further calls to SendData after a call to Stop.
Definition at line 40 of file eventhandler.cc.
40 {
42 return;
43 }
44
45
46 {
48
49
52 }
53
54
59
60
62}
static constexpr int64_t kNoTimeout
◆ EventHandlerImplementation
The documentation for this class was generated from the following files: