#include <Transmit.h>
Inheritance diagram for Transmit:
Public Member Functions | |
| virtual | ~Transmit () |
| destructor | |
| virtual bool | transmit (const std::string &data)=0 |
| Process packet data, typically sending it over the network. | |
| virtual std::string | getName () |
| virtual Transmit * | clone () |
| Copies self. | |
| virtual bool | setReturnPort (const short) |
| Set the return port. Defined only for UDP. A hack to get Max to work with wireTAP. | |
The Transmit class abstracts away the particulars of a networking protocol, so that all that is left is a generic way of sending a packet of data.
This class is then subclassed to provide networking services to the rest of the program.
Clinton McChesney
Martin Rumori
1.4.6