0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Enumerations | Functions
Hypertable::PollEvent Namespace Reference

Polling event constants (mechanism-independent). More...

Enumerations

enum  Flags {
  READ = 0x01, PRI = 0x02, WRITE = 0x04, ERROR = 0x08,
  HUP = 0x10, REMOVE = 0x1000, RDHUP = 0x2000
}
 Enumeration for poll interest constants. More...
 

Functions

std::string to_string (int events)
 Returns a string representation of polling events. More...
 

Detailed Description

Polling event constants (mechanism-independent).

Function Documentation

string Hypertable::PollEvent::to_string ( int  events)

Returns a string representation of polling events.

Parameters
eventsBitmaks of polling events (Flags)
Returns
String representation of polling events

Definition at line 36 of file PollEvent.cc.