Rudiments
|
Static Public Member Functions | |
static client * | getClient (const char *type) |
static server * | getServer (const char *type) |
The clientserverfactory class provides factory methods for creating clients and servers.
static client* clientserverfactory::getClient | ( | const char * | type | ) | [static] |
Returns an instance of a child of the client class as follows:
type class "inet" inetclientsocket "unix" unixclientsocket "modem" modemclient anything else NULL
static server* clientserverfactory::getServer | ( | const char * | type | ) | [static] |
Returns an instance of a child of the server class as follows:
type class "inet" inetserversocket "unix" unixserversocket "modem" modemserver anything else NULL