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

ICQ2000::SocketEvent Class Reference

Base class for socket events. More...

#include <events.h>

Inheritance diagram for ICQ2000::SocketEvent::

ICQ2000::Event ICQ2000::AddSocketHandleEvent ICQ2000::RemoveSocketHandleEvent List of all members.

Public Types

enum  Mode { READ = 1 << 0, WRITE = 1 << 1, EXCEPTION = 1 << 2 }
 enum of the different modes of selecting on the socket.


Public Methods

 SocketEvent (int fd)
 Base constructor for socket events. More...

virtual ~SocketEvent ()
 Destructor for SocketEvent.

int getSocketHandle () const
 get the socket file descriptor. More...


Detailed Description

Base class for socket events.


Constructor & Destructor Documentation

ICQ2000::SocketEvent::SocketEvent int    fd
 

Base constructor for socket events.

Parameters:
fd  socket file descriptor


Member Function Documentation

int ICQ2000::SocketEvent::getSocketHandle   const
 

get the socket file descriptor.

Returns:
socket file descriptor


The documentation for this class was generated from the following files:
Generated on Tue Jan 15 12:24:38 2002 for libicq2000 by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001