EpollLoop

Undocumented in source.

Constructors

this
this()

Initializes the loop.

Destructor

~this
~this()

Frees loop internals.

Members

Functions

poll
void poll()

Does the actual polling.

reify
bool reify(SocketWatcher watcher, EventMask oldEvents, EventMask events)

Should be called if the backend configuration changes.

Properties

blockTime
inout(Duration) blockTime [@property getter]

Variables

fd
int fd;
Undocumented in source.

Inherited Members

From SelectorLoop

connections
Array!SocketWatcher connections;

Pending connections.

~this
~this()
Undocumented in source.
reify
bool reify(SocketWatcher watcher, EventMask oldEvents, EventMask events)

Should be called if the backend configuration changes.

kill
void kill(StreamTransport transport, SocketException exception)

Kills the watcher and closes the connection.

feed
bool feed(StreamTransport transport, SocketException exception)

If the transport couldn't send the data, the further sending should be handled by the event loop.

start
void start(ConnectionWatcher watcher)

Start watching.

acceptConnections
void acceptConnections(ConnectionWatcher connection)

Accept incoming connections.

Meta