WinAPIEventDriverCore

Undocumented in source.

Constructors

this
this(LoopTimeoutTimerDriver timers)
Undocumented in source.

Members

Aliases

runInOwnerThread
alias runInOwnerThread = EventDriverCore.runInOwnerThread
Undocumented in source.

Functions

addWaiter
void addWaiter()
Undocumented in source. Be warned that the author may not have intended to support it.
checkForLeakedHandles
bool checkForLeakedHandles()
Undocumented in source. Be warned that the author may not have intended to support it.
clearExitFlag
void clearExitFlag()
Undocumented in source. Be warned that the author may not have intended to support it.
discardEvents
void discardEvents(OVERLAPPED_CORE*[] overlapped)
Undocumented in source. Be warned that the author may not have intended to support it.
dispose
void dispose()
Undocumented in source. Be warned that the author may not have intended to support it.
exit
void exit()
Undocumented in source. Be warned that the author may not have intended to support it.
freeSlot
void freeSlot(HANDLE h)
Undocumented in source. Be warned that the author may not have intended to support it.
processEvents
ExitReason processEvents(Duration timeout)
Undocumented in source. Be warned that the author may not have intended to support it.
rawUserData
void* rawUserData(StreamSocketFD descriptor, size_t size, DataInitializer initialize, DataInitializer destroy)
Undocumented in source. Be warned that the author may not have intended to support it.
rawUserData
void* rawUserData(DatagramSocketFD descriptor, size_t size, DataInitializer initialize, DataInitializer destroy)
Undocumented in source. Be warned that the author may not have intended to support it.
rawUserDataImpl
void* rawUserDataImpl(HANDLE handle, size_t size, DataInitializer initialize, DataInitializer destroy)
Undocumented in source. Be warned that the author may not have intended to support it.
registerEvent
void registerEvent(HANDLE event, void delegate() @(safe) nothrow callback)
Undocumented in source. Be warned that the author may not have intended to support it.
removeWaiter
void removeWaiter()
Undocumented in source. Be warned that the author may not have intended to support it.
runInOwnerThread
void runInOwnerThread(ThreadCallbackGen del, ThreadCallbackGenParams params)
Undocumented in source. Be warned that the author may not have intended to support it.
setupSlot
SlotType* setupSlot(HANDLE h)
Undocumented in source. Be warned that the author may not have intended to support it.
waiterCount
size_t waiterCount()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

m_handles
HandleSlot[HANDLE] m_handles;
Undocumented in source.

Inherited Members

From EventDriverCore

waiterCount
size_t waiterCount()

The number of pending callbacks.

processEvents
ExitReason processEvents(Duration timeout)

Runs the event loop to process a chunk of events.

exit
void exit()

Causes processEvents to return with ExitReason.exited as soon as possible.

clearExitFlag
void clearExitFlag()

Resets the exit flag.

runInOwnerThread
void runInOwnerThread(ThreadCallbackGen fun, ThreadCallbackGenParams params)
void runInOwnerThread(void function(ARGS) @(safe) nothrow fun, ARGS args)

Executes a callback in the thread owning the driver.

rawUserData
void* rawUserData(StreamSocketFD descriptor, size_t size, DataInitializer initialize, DataInitializer destroy)
void* rawUserData(DatagramSocketFD descriptor, size_t size, DataInitializer initialize, DataInitializer destroy)

Low-level user data access. Use getUserData instead.

userData
deprecated FD userData [@property setter]

Deprecated - use EventDriverSockets.userData instead.

Meta