Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | Related Pages

wftk::Poll Class Reference

Watch a socket for data. More...

#include <poll.h>

Inheritance diagram for wftk::Poll:

wftk::PollBase List of all members.

Public Attributes

BaseEvent * currentEvent_

Protected Member Functions

virtual void setup (PollData &data)
 add your sockets to PollData in this callback using addPoll()
virtual void pushEvent (PollData &)
 In this callback, use checkPoll() to see if your sockets are ready, and push an event onto the application event queue if they are.

Detailed Description

Watch a socket for data.


The documentation for this class was generated from the following files:

Generated Tue Oct 26 19:02:13 2004.
Copyright © 1998-2003 by the respective authors.

This document is licensed under the terms of the GNU Free Documentation License and may be freely distributed under the conditions given by this license.