sella::net::SocketMux Class Reference

List of all members.

Public Types

typedef std::shared_ptr
< SocketMux
shared
typedef SocketMuxptr
typedef std::map< int,
Socket::shared > 
int_shared_map
typedef std::forward_list
< Socket::shared > 
shared_flist

Public Member Functions

 SocketMux (ssize_t epollMaxEvents=EPOLL_MAXEVENTS_DEF, bool pthread_cancel=true) throw (SocketException)
int epoll (struct timeval *tv=NULL) throw (SocketException)
int select (struct timeval *tv=NULL) throw (SocketException)
int rselect (struct timeval *tv=NULL) throw (SocketException)
int wselect (struct timeval *tv=NULL) throw (SocketException)
int eselect (struct timeval *tv=NULL) throw (SocketException)
int rwselect (struct timeval *tv=NULL) throw (SocketException)
void clear (void) throw (SocketException)
size_t size (void) const
const shared_flist & getReadList (void)
const shared_flist & getWriteList (void)
const shared_flist & getExceptList (void)
bool insertRead (Socket::shared socket) throw (SocketException)
bool removeRead (Socket::shared socket) throw (SocketException)
bool insertWrite (Socket::shared socket) throw (SocketException)
bool removeWrite (Socket::shared socket) throw (SocketException)
bool insertExcept (Socket::shared socket) throw (SocketException)
bool removeExcept (Socket::shared socket) throw (SocketException)

Static Public Member Functions

static const SocketMux::shared shared_ptr (ssize_t epollMaxEvents=EPOLL_MAXEVENTS_DEF, bool pthread_cancel=true) throw (SocketException)

Detailed Description

Definition at line 40 of file SocketMux.h.


The documentation for this class was generated from the following files:
 All Classes Functions Variables

Generated on 20 Nov 2014 for libutil++ by  doxygen 1.6.1