Detailed Description
This is the core of the event driven system. The SelectServer is responsible for invoking Callbacks when events occur. All methods except Execute() and Terminate() must be called from the thread that Run() was called in.
Classes |
struct | connected_descriptor_t |
struct | connected_descriptor_t_lt |
class | Event |
struct | ltevent |
class | RepeatingEvent |
class | SingleEvent |
Public Types |
enum | Direction { READ,
WRITE
} |
Static Public Attributes |
static const char | K_READ_DESCRIPTOR_VAR [] = "ss-read-descriptors" |
static const char | K_WRITE_DESCRIPTOR_VAR [] = "ss-write-descriptor" |
static const char | K_CONNECTED_DESCRIPTORS_VAR [] = "ss-connected-descriptors" |
static const char | K_TIMER_VAR [] = "ss-timers" |
static const char | K_LOOP_TIME [] = "ss-loop-time" |
static const char | K_LOOP_COUNT [] = "ss-loop-count" |
Friends |
class | ::SelectServerTest |
Member Function Documentation
Execute this callback in the main select thread. This method can be called from any thread. The callback will never execute immediately, this can be used to perform delayed deletion of objects.
Implements ola::thread::ExecutorInterface.
void ola::io::SelectServer::Terminate |
( |
| ) |
|
The documentation for this class was generated from the following files: