#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)
◆ 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: