![]() |
football
socket abstraction layer
|
Football Arena: Manager for services. More...
#include <football.h>
Static Public Member Functions | |
static bool | ready (void) |
Determine if the Arena (service manager) is ready. More... | |
static bool | poll (void) |
Poll services. More... | |
static bool | pollWait (void) |
Poll services. More... | |
static bool | pollUntil (time_t untilwhen) |
Poll services. More... | |
static bool | pollWithTimeout (double timeout) |
pollWithTimeout. More... | |
Football Arena: Manager for services.
The arena runs all the services, providing event management and dispatching. Services are automatically added to the arena when created; use the Arena's poll routines to service them and their connections. Events are dispatched to the virtual methods provided in Football::Connection, with support from Football::Interpreter; the poll return value indicates if service was done (or false if a timeout happened).
|
static |
Poll services.
Return immediately if there is no activity.
|
static |
Poll services.
If idle, wait until the specified time for activity.
until_when | When to give up waiting. |
|
static |
Poll services.
Wait indefinitely for activity if necessary.
|
static |
pollWithTimeout.
duration | The duration to wait for activity before timeout. |
|
static |
Determine if the Arena (service manager) is ready.