Flutter Engine
The Flutter Engine
|
#include <eventhandler_win.h>
Public Member Functions | |
virtual void | DoClose () |
virtual intptr_t | Write (const void *buffer, intptr_t num_bytes) |
void | WriteSyncCompleteAsync () |
void | RunWriteLoop () |
Public Member Functions inherited from dart::bin::FileHandle | |
FileHandle (HANDLE handle) | |
virtual void | EnsureInitialized (EventHandlerImplementation *event_handler) |
virtual bool | IsClosed () |
Public Member Functions inherited from dart::bin::DescriptorInfoSingleMixin< Handle > | |
DescriptorInfoSingleMixin (intptr_t fd, bool disable_tokens) | |
virtual | ~DescriptorInfoSingleMixin () |
virtual bool | IsListeningSocket () const |
virtual void | SetPortAndMask (Dart_Port port, intptr_t mask) |
virtual void | RemovePort (Dart_Port port) |
virtual void | RemoveAllPorts () |
virtual Dart_Port | NextNotifyDartPort (intptr_t events_ready) |
virtual void | NotifyAllDartPorts (uintptr_t events) |
virtual void | ReturnTokens (Dart_Port port, int count) |
virtual intptr_t | Mask () |
virtual void | Close () |
Public Member Functions inherited from dart::bin::Handle | |
intptr_t | Available () |
bool | DataReady () |
intptr_t | Read (void *buffer, intptr_t num_bytes) |
intptr_t | RecvFrom (void *buffer, intptr_t num_bytes, struct sockaddr *sa, socklen_t addr_len) |
virtual intptr_t | Write (const void *buffer, intptr_t num_bytes) |
virtual intptr_t | SendTo (const void *buffer, intptr_t num_bytes, struct sockaddr *sa, socklen_t sa_len) |
virtual bool | IssueRead () |
virtual bool | IssueRecvFrom () |
virtual bool | IssueWrite () |
virtual bool | IssueSendTo (struct sockaddr *sa, socklen_t sa_len) |
bool | HasPendingRead () |
bool | HasPendingWrite () |
void | ReadComplete (OverlappedBuffer *buffer) |
void | RecvFromComplete (OverlappedBuffer *buffer) |
void | WriteComplete (OverlappedBuffer *buffer) |
bool | IsClosing () |
bool | IsClosedRead () |
bool | IsClosedWrite () |
bool | IsError () |
void | MarkClosing () |
void | MarkClosedRead () |
void | MarkClosedWrite () |
void | MarkError () |
virtual void | EnsureInitialized (EventHandlerImplementation *event_handler)=0 |
HANDLE | handle () |
bool | CreateCompletionPort (HANDLE completion_port) |
void | Close () |
virtual void | DoClose () |
virtual bool | IsClosed ()=0 |
bool | IsHandleClosed () const |
Type | type () |
bool | is_file () |
bool | is_socket () |
bool | is_listen_socket () |
bool | is_client_socket () |
bool | is_datagram_socket () |
void | MarkDoesNotSupportOverlappedIO () |
bool | SupportsOverlappedIO () |
void | ReadSyncCompleteAsync () |
DWORD | last_error () |
void | set_last_error (DWORD last_error) |
void | set_completion_port (HANDLE completion_port) |
void | set_event_handler (EventHandlerImplementation *event_handler) |
Public Member Functions inherited from dart::bin::ReferenceCounted< Handle > | |
ReferenceCounted () | |
virtual | ~ReferenceCounted () |
void | Retain () |
void | Release () |
Public Member Functions inherited from dart::bin::DescriptorInfoBase | |
DescriptorInfoBase (intptr_t fd) | |
virtual | ~DescriptorInfoBase () |
intptr_t | fd () |
virtual bool | IsListeningSocket () const =0 |
virtual void | SetPortAndMask (Dart_Port port, intptr_t mask)=0 |
virtual void | RemovePort (Dart_Port port)=0 |
virtual void | RemoveAllPorts ()=0 |
virtual Dart_Port | NextNotifyDartPort (intptr_t events_ready)=0 |
virtual void | NotifyAllDartPorts (uintptr_t events)=0 |
virtual void | ReturnTokens (Dart_Port port, int count)=0 |
virtual intptr_t | Mask ()=0 |
virtual void | Close ()=0 |
Static Public Member Functions | |
static StdHandle * | Stdin (HANDLE handle) |
Additional Inherited Members | |
Public Types inherited from dart::bin::Handle | |
enum | Type { kFile , kStd , kDirectoryWatch , kClientSocket , kListenSocket , kDatagramSocket } |
Protected Types inherited from dart::bin::Handle | |
enum | Flags { kClosing = 0 , kCloseRead = 1 , kCloseWrite = 2 , kDoesNotSupportOverlappedIO = 3 , kError = 4 } |
Protected Member Functions inherited from dart::bin::Handle | |
Handle (intptr_t handle) | |
virtual | ~Handle () |
virtual void | HandleIssueError () |
Protected Attributes inherited from dart::bin::Handle | |
Monitor | monitor_ |
Type | type_ |
HANDLE | handle_ |
HANDLE | completion_port_ |
EventHandlerImplementation * | event_handler_ |
std::unique_ptr< OverlappedBuffer > | data_ready_ |
OverlappedBuffer * | pending_read_ |
OverlappedBuffer * | pending_write_ |
DWORD | last_error_ |
ThreadId | read_thread_id_ |
HANDLE | read_thread_handle_ |
bool | read_thread_starting_ |
bool | read_thread_finished_ |
Protected Attributes inherited from dart::bin::DescriptorInfoBase | |
intptr_t | fd_ |
Definition at line 311 of file eventhandler_win.h.
|
virtual |
Reimplemented from dart::bin::Handle.
void dart::bin::StdHandle::RunWriteLoop | ( | ) |
|
virtual |
Reimplemented from dart::bin::Handle.
void dart::bin::StdHandle::WriteSyncCompleteAsync | ( | ) |