#include <Network.h>
Static Public Member Functions | |
static NetworkClient * | createClient (NetworkMode mode) |
Definition at line 115 of file Network.h.
static NetworkClient* NetworkFactory::createClient | ( | NetworkMode | mode | ) | [inline, static] |
Definition at line 118 of file Network.h.
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: