#include <eventhandler_win.h>
|
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) |
|
| ReferenceCounted () |
|
virtual | ~ReferenceCounted () |
|
void | Retain () |
|
void | Release () |
|
| 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 |
|
Definition at line 163 of file eventhandler_win.h.
◆ Flags
Enumerator |
---|
kClosing | |
kCloseRead | |
kCloseWrite | |
kDoesNotSupportOverlappedIO | |
kError | |
Definition at line 254 of file eventhandler_win.h.
254 {
260 };
@ kDoesNotSupportOverlappedIO
◆ Type
Enumerator |
---|
kFile | |
kStd | |
kDirectoryWatch | |
kClientSocket | |
kListenSocket | |
kDatagramSocket | |
Definition at line 165 of file eventhandler_win.h.
◆ Handle()
dart::bin::Handle::Handle |
( |
intptr_t |
handle | ) |
|
|
explicitprotected |
◆ ~Handle()
virtual dart::bin::Handle::~Handle |
( |
| ) |
|
|
protectedvirtual |
◆ Available()
intptr_t dart::bin::Handle::Available |
( |
| ) |
|
◆ Close()
void dart::bin::Handle::Close |
( |
| ) |
|
|
virtual |
◆ CreateCompletionPort()
bool dart::bin::Handle::CreateCompletionPort |
( |
HANDLE |
completion_port | ) |
|
◆ DataReady()
bool dart::bin::Handle::DataReady |
( |
| ) |
|
◆ DoClose()
virtual void dart::bin::Handle::DoClose |
( |
| ) |
|
|
virtual |
◆ EnsureInitialized()
◆ handle()
HANDLE dart::bin::Handle::handle |
( |
| ) |
|
|
inline |
◆ HandleIssueError()
virtual void dart::bin::Handle::HandleIssueError |
( |
| ) |
|
|
protectedvirtual |
◆ HasPendingRead()
bool dart::bin::Handle::HasPendingRead |
( |
| ) |
|
◆ HasPendingWrite()
bool dart::bin::Handle::HasPendingWrite |
( |
| ) |
|
◆ is_client_socket()
bool dart::bin::Handle::is_client_socket |
( |
| ) |
|
|
inline |
◆ is_datagram_socket()
bool dart::bin::Handle::is_datagram_socket |
( |
| ) |
|
|
inline |
◆ is_file()
bool dart::bin::Handle::is_file |
( |
| ) |
|
|
inline |
◆ is_listen_socket()
bool dart::bin::Handle::is_listen_socket |
( |
| ) |
|
|
inline |
◆ is_socket()
bool dart::bin::Handle::is_socket |
( |
| ) |
|
|
inline |
◆ IsClosed()
virtual bool dart::bin::Handle::IsClosed |
( |
| ) |
|
|
pure virtual |
◆ IsClosedRead()
bool dart::bin::Handle::IsClosedRead |
( |
| ) |
|
|
inline |
◆ IsClosedWrite()
bool dart::bin::Handle::IsClosedWrite |
( |
| ) |
|
|
inline |
◆ IsClosing()
bool dart::bin::Handle::IsClosing |
( |
| ) |
|
|
inline |
◆ IsError()
bool dart::bin::Handle::IsError |
( |
| ) |
|
|
inline |
◆ IsHandleClosed()
bool dart::bin::Handle::IsHandleClosed |
( |
| ) |
const |
|
inline |
◆ IssueRead()
virtual bool dart::bin::Handle::IssueRead |
( |
| ) |
|
|
virtual |
◆ IssueRecvFrom()
virtual bool dart::bin::Handle::IssueRecvFrom |
( |
| ) |
|
|
virtual |
◆ IssueSendTo()
virtual bool dart::bin::Handle::IssueSendTo |
( |
struct sockaddr * |
sa, |
|
|
socklen_t |
sa_len |
|
) |
| |
|
virtual |
◆ IssueWrite()
virtual bool dart::bin::Handle::IssueWrite |
( |
| ) |
|
|
virtual |
◆ last_error()
DWORD dart::bin::Handle::last_error |
( |
| ) |
|
|
inline |
◆ MarkClosedRead()
void dart::bin::Handle::MarkClosedRead |
( |
| ) |
|
|
inline |
◆ MarkClosedWrite()
void dart::bin::Handle::MarkClosedWrite |
( |
| ) |
|
|
inline |
◆ MarkClosing()
void dart::bin::Handle::MarkClosing |
( |
| ) |
|
|
inline |
◆ MarkDoesNotSupportOverlappedIO()
void dart::bin::Handle::MarkDoesNotSupportOverlappedIO |
( |
| ) |
|
|
inline |
◆ MarkError()
void dart::bin::Handle::MarkError |
( |
| ) |
|
|
inline |
◆ Read()
intptr_t dart::bin::Handle::Read |
( |
void * |
buffer, |
|
|
intptr_t |
num_bytes |
|
) |
| |
◆ ReadComplete()
◆ ReadSyncCompleteAsync()
void dart::bin::Handle::ReadSyncCompleteAsync |
( |
| ) |
|
◆ RecvFrom()
intptr_t dart::bin::Handle::RecvFrom |
( |
void * |
buffer, |
|
|
intptr_t |
num_bytes, |
|
|
struct sockaddr * |
sa, |
|
|
socklen_t |
addr_len |
|
) |
| |
◆ RecvFromComplete()
◆ SendTo()
virtual intptr_t dart::bin::Handle::SendTo |
( |
const void * |
buffer, |
|
|
intptr_t |
num_bytes, |
|
|
struct sockaddr * |
sa, |
|
|
socklen_t |
sa_len |
|
) |
| |
|
virtual |
◆ set_completion_port()
void dart::bin::Handle::set_completion_port |
( |
HANDLE |
completion_port | ) |
|
|
inline |
◆ set_event_handler()
Definition at line 246 of file eventhandler_win.h.
246 {
248 }
EventHandlerImplementation * event_handler_
static EventHandler * event_handler
◆ set_last_error()
void dart::bin::Handle::set_last_error |
( |
DWORD |
last_error | ) |
|
|
inline |
◆ SupportsOverlappedIO()
bool dart::bin::Handle::SupportsOverlappedIO |
( |
| ) |
|
|
inline |
◆ type()
Type dart::bin::Handle::type |
( |
| ) |
|
|
inline |
◆ Write()
virtual intptr_t dart::bin::Handle::Write |
( |
const void * |
buffer, |
|
|
intptr_t |
num_bytes |
|
) |
| |
|
virtual |
◆ WriteComplete()
◆ EventHandlerImplementation
◆ ReferenceCounted< Handle >
◆ completion_port_
HANDLE dart::bin::Handle::completion_port_ |
|
protected |
◆ data_ready_
◆ event_handler_
◆ handle_
HANDLE dart::bin::Handle::handle_ |
|
protected |
◆ last_error_
DWORD dart::bin::Handle::last_error_ |
|
protected |
◆ monitor_
Monitor dart::bin::Handle::monitor_ |
|
protected |
◆ pending_read_
◆ pending_write_
◆ read_thread_finished_
bool dart::bin::Handle::read_thread_finished_ |
|
protected |
◆ read_thread_handle_
HANDLE dart::bin::Handle::read_thread_handle_ |
|
protected |
◆ read_thread_id_
ThreadId dart::bin::Handle::read_thread_id_ |
|
protected |
◆ read_thread_starting_
bool dart::bin::Handle::read_thread_starting_ |
|
protected |
◆ type_
Type dart::bin::Handle::type_ |
|
protected |
The documentation for this class was generated from the following file: