vibe.core.driver

Contains interfaces and enums for asynchronous drivers.

At the lowest level of Vibe.d sits a library which handle all the asynchronous I/O operations. There are currently 3 supported I/O backend: libasync, libevent and libev. This module define the interface such a library must conform with to work with Vibe.d

Public Imports

vibe.core.file
public import vibe.core.file;
Undocumented in source.
vibe.core.net
public import vibe.core.net;
Undocumented in source.
vibe.core.path
public import vibe.core.path;
Undocumented in source.
vibe.core.sync
public import vibe.core.sync;
Undocumented in source.
vibe.core.stream
public import vibe.core.stream;
Undocumented in source.
vibe.core.task
public import vibe.core.task;
Undocumented in source.

Members

Aliases

StoredEventDriver
alias StoredEventDriver = NativeEventDriver
Undocumented in source.
StoredEventDriver
alias StoredEventDriver = EventDriver
Undocumented in source.

Functions

deleteEventDriver
void deleteEventDriver()
Undocumented in source. Be warned that the author may not have intended to support it.
getEventDriver
StoredEventDriver getEventDriver(bool ignore_unloaded)

Returns the active event driver

setupEventDriver
void setupEventDriver(DriverCore core_)

private

Interfaces

DriverCore
interface DriverCore

Provides an event driver with core functions for task/fiber control.

EventDriver
interface EventDriver

Interface for all evented I/O implementations.

FileDescriptorEvent
interface FileDescriptorEvent

Generic file descriptor event.

Meta

Authors

Sönke Ludwig

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.