#include <uploadthread.h>
|
|
| UploadThread (SocketMonitor *sm) |
| |
|
void | signalDataReady () |
| | Wake up thread, data is ready to be sent.
|
| |
|
| NetworkThread (SocketMonitor *sm) |
| |
| void | addGroup (Uint32 gid, Uint32 limit, Uint32 assured_rate) |
| |
|
bool | isRunning () const |
| | Is the thread running.
|
| |
| void | removeGroup (Uint32 gid) |
| |
| void | run () override |
| |
| void | setGroupAssuredRate (Uint32 gid, Uint32 as) |
| |
| void | setGroupLimit (Uint32 gid, Uint32 limit) |
| |
|
void | stop () |
| | Stop before the next update.
|
| |
|
int | add (int fd, Mode mode) |
| | Add a file descriptor to the poll (returns the index of it)
|
| |
|
int | add (PollClient::Ptr pc) |
| | Add a poll client.
|
| |
|
int | poll (int timeout=-1) |
| | Poll all sockets.
|
| |
|
bool | ready (int index, Mode mode) const |
| | Check if a socket at an index is read.
|
| |
|
void | reset () |
| | Reset the poll.
|
| |
|
|
static Uint32 | cap () |
| | Get the upload cap.
|
| |
|
static void | setCap (bt::Uint32 uc) |
| | Set the upload cap.
|
| |
|
static void | setSleepTime (bt::Uint32 stime) |
| | Set the sleep time when using upload caps.
|
| |
The documentation for this class was generated from the following file: