NetworkServer Class Reference

#include <Network.h>

Inheritance diagram for NetworkServer:

Inheritance graph
[legend]

Public Member Functions

void setServerPort (int p)
int getSocket ()
virtual DbRetVal start ()=0
virtual DbRetVal stop ()=0
virtual DbRetVal handleClient ()=0

Protected Attributes

int sockfd
int port

Detailed Description

Definition at line 228 of file Network.h.


Member Function Documentation

int NetworkServer::getSocket (  )  [inline]

Definition at line 235 of file Network.h.

References sockfd.

Referenced by main().

00235 { return sockfd; }

Here is the caller graph for this function:

virtual DbRetVal NetworkServer::handleClient (  )  [pure virtual]

Implemented in UDPServer, and TCPServer.

Referenced by main().

Here is the caller graph for this function:

void NetworkServer::setServerPort ( int  p  )  [inline]

Definition at line 234 of file Network.h.

References port.

Referenced by main().

00234 { port = p; }

Here is the caller graph for this function:

virtual DbRetVal NetworkServer::start (  )  [pure virtual]

Implemented in UDPServer, and TCPServer.

Referenced by main().

Here is the caller graph for this function:

virtual DbRetVal NetworkServer::stop (  )  [pure virtual]

Implemented in UDPServer, and TCPServer.

Referenced by main().

Here is the caller graph for this function:


Field Documentation

int NetworkServer::port [protected]

Definition at line 232 of file Network.h.

Referenced by setServerPort(), UDPServer::start(), TCPServer::start(), TCPServer::TCPServer(), and UDPServer::UDPServer().

int NetworkServer::sockfd [protected]

Definition at line 231 of file Network.h.

Referenced by getSocket(), UDPServer::handleClient(), TCPServer::handleClient(), UDPServer::start(), TCPServer::start(), UDPServer::stop(), TCPServer::stop(), TCPServer::TCPServer(), and UDPServer::UDPServer().


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