Fawkes API  Fawkes Development Version
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Msl2008RefBoxRepeater Class Reference

Mid-size league refbox repeater. More...

#include <>>

Public Member Functions

 Msl2008RefBoxRepeater (RefBoxStateSender &rss, const char *refbox_host, unsigned short int refbox_port)
 Constructor. More...
 
 ~Msl2008RefBoxRepeater ()
 Destructor. More...
 
void run ()
 Run. More...
 

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 41 of file msl2008.h.

Constructor & Destructor Documentation

Msl2008RefBoxRepeater::Msl2008RefBoxRepeater ( RefBoxStateSender rss,
const char *  refbox_host,
unsigned short int  refbox_port 
)

Constructor.

Parameters
rssrefbox state sender
refbox_hostrefbox host
refbox_portrefbox port

Definition at line 99 of file msl2008.cpp.

Msl2008RefBoxRepeater::~Msl2008RefBoxRepeater ( )

Destructor.

Definition at line 116 of file msl2008.cpp.

References fawkes::Socket::close().

Member Function Documentation

void Msl2008RefBoxRepeater::run ( )

Run.

Reads messages from the network, processes them and calls the refbox state sender.

Definition at line 347 of file msl2008.cpp.

References fawkes::Socket::read().


The documentation for this class was generated from the following files: