Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages   Examples  

fpoller::poller_devpoll Class Reference

#include <poller_devpoll.h>

List of all members.

Public Methods

 poller_devpoll ()
 ~poller_devpoll ()
void add (int fd, short events, callback *cb)
 Implementation of basic_poller::add.

void remove (int fd, short interest)
 Implementation of basic_poller::remove.

int poll (int timeout)
 Implementation of basic_poller::poll.


Detailed Description

Delegate poller class for systems supporting /dev/poll mechanism (Solaris 8 and patched Linux kernels). Supports same public operations as basic_poller(). Should never be instantiated by client code. The typedef poller will refer to basic_poller<poller_kqueue> on systems on which this class is available.

Definition at line 44 of file poller_devpoll.h.


Constructor & Destructor Documentation

fpoller::poller_devpoll::poller_devpoll
 

Opens the /dev/poll driver. Throws fpoller::exception if the open fails.

Definition at line 41 of file poller_devpoll.cc.

fpoller::poller_devpoll::~poller_devpoll
 

Closes the /dev/poll driver.

Definition at line 50 of file poller_devpoll.cc.


The documentation for this class was generated from the following files:
Generated at Wed Oct 16 16:02:39 2002 for fpoller by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001