Fawkes API  Fawkes Development Version
MidsizeRefBoxRepeater Class Reference

Mid-size league refbox repeater. More...

#include <>>

Public Member Functions

 MidsizeRefBoxRepeater (RefBoxStateSender &rss, const char *refbox_host, unsigned short int refbox_port)
 Constructor. More...
 
 ~MidsizeRefBoxRepeater ()
 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
Tim Niemueller

Definition at line 33 of file msl2007.h.

Constructor & Destructor Documentation

MidsizeRefBoxRepeater::MidsizeRefBoxRepeater ( 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 77 of file msl2007.cpp.

MidsizeRefBoxRepeater::~MidsizeRefBoxRepeater ( )

Destructor.

Definition at line 94 of file msl2007.cpp.

References fawkes::Socket::close().

Member Function Documentation

void MidsizeRefBoxRepeater::run ( )

Run.

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

Definition at line 244 of file msl2007.cpp.

References fawkes::Socket::read().


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