Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::MessageHandlerTestPeer Class Reference

Public Member Functions

 MessageHandlerTestPeer (MessageHandler *handler)
 
void PostMessage (std::unique_ptr< Message > message)
 
void ClosePort (Dart_Port port)
 
void CloseAllPorts ()
 
MessageQueuequeue () const
 
MessageQueueoob_queue () const
 

Detailed Description

Definition at line 13 of file message_handler_test.cc.

Constructor & Destructor Documentation

◆ MessageHandlerTestPeer()

dart::MessageHandlerTestPeer::MessageHandlerTestPeer ( MessageHandler handler)
inlineexplicit

Definition at line 15 of file message_handler_test.cc.

16 : handler_(handler) {}

Member Function Documentation

◆ CloseAllPorts()

void dart::MessageHandlerTestPeer::CloseAllPorts ( )
inline

Definition at line 22 of file message_handler_test.cc.

22{ handler_->CloseAllPorts(); }

◆ ClosePort()

void dart::MessageHandlerTestPeer::ClosePort ( Dart_Port  port)
inline

Definition at line 21 of file message_handler_test.cc.

21{ handler_->ClosePort(port); }
void ClosePort(Dart_Port port)
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
Definition: switches.h:87

◆ oob_queue()

MessageQueue * dart::MessageHandlerTestPeer::oob_queue ( ) const
inline

Definition at line 25 of file message_handler_test.cc.

25{ return handler_->oob_queue_; }

◆ PostMessage()

void dart::MessageHandlerTestPeer::PostMessage ( std::unique_ptr< Message message)
inline

Definition at line 18 of file message_handler_test.cc.

18 {
19 handler_->PostMessage(std::move(message));
20 }
void PostMessage(std::unique_ptr< Message > message, bool before_events=false)
Win32Message message

◆ queue()

MessageQueue * dart::MessageHandlerTestPeer::queue ( ) const
inline

Definition at line 24 of file message_handler_test.cc.

24{ return handler_->queue_; }

The documentation for this class was generated from the following file: