|
Fawkes API
Fawkes Development Version
|
Mid-size league refbox repeater. More...
#include <>>
Public Member Functions | |
| Msl2010RefBoxRepeater (RefBoxStateSender &rss, const char *refbox_host, unsigned short int refbox_port, const bool use_multicast=true) | |
| Constructor. | |
| ~Msl2010RefBoxRepeater () | |
| Destructor. | |
| void | run () |
| Run. | |
Mid-size league refbox repeater.
This class will communicate with the mid-size league refbox and derive matching game states from the communiation stream and send this via the world info.
| Msl2010RefBoxRepeater::Msl2010RefBoxRepeater | ( | RefBoxStateSender & | rss, |
| const char * | refbox_host, | ||
| unsigned short int | refbox_port, | ||
| const bool | use_multicast = true |
||
| ) |
Constructor.
| rss | refbox state sender |
| refbox_host | refbox host |
| refbox_port | refbox port |
| use_multicast | use multicast connection (true by default) |
Definition at line 104 of file msl2010.cpp.
| Msl2010RefBoxRepeater::~Msl2010RefBoxRepeater | ( | ) |
| void Msl2010RefBoxRepeater::run | ( | ) |
Run.
Reads messages from the network, processes them and calls the refbox state sender.
Definition at line 384 of file msl2010.cpp.
References fawkes::Socket::read().