blocxx
Classes | Namespaces | Typedefs | Functions | Variables

Select.hpp File Reference

#include "blocxx/BLOCXX_config.h"
#include "blocxx/Types.hpp"
#include "blocxx/Array.hpp"
#include "blocxx/SelectableIFC.hpp"
#include "blocxx/Timeout.hpp"
#include "blocxx/SelectableIFC.hpp"

Go to the source code of this file.

Classes

struct  BLOCXX_NAMESPACE::Select::SelectObject

Namespaces

namespace  BLOCXX_NAMESPACE
 

Taken from RFC 1321.


namespace  BLOCXX_NAMESPACE::Select

Typedefs

typedef Array< Select_t > BLOCXX_NAMESPACE::SelectTypeArray
typedef Array< SelectObject > BLOCXX_NAMESPACE::Select::SelectObjectArray

Functions

int BLOCXX_NAMESPACE::Select::select (const SelectTypeArray &selarray, UInt32 ms) BLOCXX_DEPRECATED
 Select returns as soon as input is available on any of Select_t objects that are in given array.
int BLOCXX_NAMESPACE::Select::select (const SelectTypeArray &selarray, const Timeout &timeout)
int BLOCXX_NAMESPACE::Select::selectRW (SelectObjectArray &selarray, const Timeout &timeout=Timeout::infinite)
 Select returns as soon as input or output is available on any of the Select_t objects that are in given array or the timeout has passed.
int BLOCXX_NAMESPACE::Select::selectRW (SelectObjectArray &selarray, UInt32 ms)

Variables

const int BLOCXX_NAMESPACE::Select::SELECT_TIMEOUT = -2
 The value returned from select when the timeout value has expired.
const int BLOCXX_NAMESPACE::Select::SELECT_ERROR = -1
 The value returned from select when any error occurs other than timeout.
const int BLOCXX_NAMESPACE::Select::SELECT_NOT_IMPLEMENTED = -4
 Used internally, but listed here to prevent conflicts.
const UInt32 INFINITE_TIMEOUT BLOCXX_NAMESPACE::Select::BLOCXX_DEPRECATED = ~0U
 Value that means infinite timeout.