Fawkes API Fawkes Development Version

Msl2010RefBoxRepeater Class Reference

Mid-size league refbox repeater. More...

#include <>>

List of all members.

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.

Detailed Description

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.

Author:
Stefan Schiffer

Definition at line 43 of file msl2010.h.


Constructor & Destructor Documentation

Msl2010RefBoxRepeater::Msl2010RefBoxRepeater ( RefBoxStateSender rss,
const char *  refbox_host,
unsigned short int  refbox_port,
const bool  use_multicast = true 
)

Constructor.

Parameters:
rssrefbox state sender
refbox_hostrefbox host
refbox_portrefbox port
use_multicastuse multicast connection (true by default)

Definition at line 104 of file msl2010.cpp.

Msl2010RefBoxRepeater::~Msl2010RefBoxRepeater ( )

Destructor.

Definition at line 124 of file msl2010.cpp.

References fawkes::Socket::close().


Member Function Documentation

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().


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends