NetworkFactory Class Reference

#include <Network.h>


Static Public Member Functions

static NetworkClientcreateClient (NetworkMode mode)


Detailed Description

Definition at line 115 of file Network.h.


Member Function Documentation

static NetworkClient* NetworkFactory::createClient ( NetworkMode  mode  )  [inline, static]

Definition at line 118 of file Network.h.

References TCP, and UDP.

Referenced by NetworkTable::readNetworkConfig().

00119     {
00120         NetworkClient* client = NULL;
00121         switch(mode)
00122         {
00123             case UDP:
00124                 client = new UDPClient();
00125                 break;
00126             case TCP:
00127                 client = new TCPClient();
00128                 break;
00129         }
00130         return client;
00131     }

Here is the caller graph for this function:


The documentation for this class was generated from the following file:
Generated on Mon Jun 9 22:48:52 2008 for csql by  doxygen 1.4.7