#include <ShortHeavyLoader.h>
Public Member Functions | |
bool | is_question (vector< uint8_t > &question) |
void | short_callback (std::map< id_type, std::vector< uint8_t > > const &answers) |
void | short_handler (vector< uint8_t > &answer, id_type from, vector< uint8_t > const &question) |
ShortHeavyLoader (int sid) | |
void | statistics () |
void | timer (socrob::multicast::Manager &manager) |
Private Attributes | |
const uint8_t | MAGIC_BYTE_ |
unsigned long | rounds_ |
int | sid_ |
Definition at line 40 of file ShortHeavyLoader.h.
ShortHeavyLoader::ShortHeavyLoader | ( | int | sid | ) | [inline] |
Definition at line 49 of file ShortHeavyLoader.h.
bool ShortHeavyLoader::is_question | ( | vector< uint8_t > & | question | ) | [inline] |
Definition at line 57 of file ShortHeavyLoader.h.
void ShortHeavyLoader::short_callback | ( | std::map< id_type, std::vector< uint8_t > > const & | answers | ) | [inline] |
Definition at line 79 of file ShortHeavyLoader.h.
void ShortHeavyLoader::short_handler | ( | vector< uint8_t > & | answer, |
id_type | from, | ||
vector< uint8_t > const & | question | ||
) | [inline] |
Definition at line 71 of file ShortHeavyLoader.h.
void ShortHeavyLoader::statistics | ( | ) | [inline] |
Definition at line 106 of file ShortHeavyLoader.h.
void ShortHeavyLoader::timer | ( | socrob::multicast::Manager & | manager | ) | [inline] |
Definition at line 85 of file ShortHeavyLoader.h.
const uint8_t ShortHeavyLoader::MAGIC_BYTE_ [private] |
Definition at line 44 of file ShortHeavyLoader.h.
unsigned long ShortHeavyLoader::rounds_ [private] |
Definition at line 46 of file ShortHeavyLoader.h.
int ShortHeavyLoader::sid_ [private] |
Definition at line 42 of file ShortHeavyLoader.h.