|
Public Types |
|
typedef void(*) | CBFUNC (void *, const std::string &, const std::string &) |
|
typedef void(*) | CBFUNC3 (void *, const std::string &) |
Public Member Functions |
|
void | addStream (const std::string &stream) |
|
void | addServer (const std::string &addr, unsigned short port, unsigned int timeout=1000, const std::string &login="", const std::string &pass="") |
|
void | start () |
|
void | quit () |
|
void | setDataCallback (CBFUNC func, void *arg=0) |
|
void | setErrorCallback (CBFUNC3 func, void *arg=0) |
Static Public Member Functions |
|
static void | _cl_cb (void *arg) |
Protected Member Functions |
|
void | beginThread () |
Classes |
| struct | Server |