circuits.core.pollers – I/O Pollers

Poller Components for asynchronous file and socket I/O.

This module contains Poller components that enable polling of file or socket descriptors for read/write events. Pollers: - Select - Poll - EPoll

Events

none

Components

class circuits.core.pollers.BasePoller(timeout=0.01, channel=None)
class circuits.core.pollers.Select(timeout=0.01, channel='select')

Select(...) -> new Select Poller Component

Creates a new Select Poller Component that uses the select poller implementation. This poller is not reccomneded but is available for legacy reasons as most systems implement select-based polling for backwards compatibility.

class circuits.core.pollers.Poll(timeout=0.01, channel='poll')

Poll(...) -> new Poll Poller Component

Creates a new Poll Poller Component that uses the poll poller implementation.

class circuits.core.pollers.EPoll(timeout=0.01, channel='epoll')

EPoll(...) -> new EPoll Poller Component

Creates a new EPoll Poller Component that uses the epoll poller implementation.

Functions

none