Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

NetOutput Class Reference

Concrete class that describes a network output device. More...

#include <NetOutput.h>

Inheritance diagram for NetOutput::

OutputObject List of all members.

Public Methods

 NetOutput (const char *server, unsigned short port)
 Constructor. More...

 ~NetOutput ()
 Destructor.

void open ()
 Open the output stream.

void close ()
 Close the output stream.

void write (vpf_packet &packet)
 Write the given packet to the output stream. More...


Private Attributes

NetClient * client
 Handle to the current network client instance.


Detailed Description

Concrete class that describes a network output device.

Author:
Jon Parise <jparise@cmu.edu>


Constructor & Destructor Documentation

NetOutput::NetOutput const char *    server,
unsigned short    port
 

Constructor.

Parameters:
server  Hostname or IP address of the server
port  UDP port number


Member Function Documentation

void NetOutput::write vpf_packet &    packet [virtual]
 

Write the given packet to the output stream.

Parameters:
packet  vpf_packet to write to the output stream

Reimplemented from OutputObject.


The documentation for this class was generated from the following files:
Generated on Tue Oct 16 14:06:19 2001 for PuppetMaster by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001