#include <Network.h>
Inheritance diagram for NetworkServer:
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 |
Definition at line 228 of file Network.h.
int NetworkServer::getSocket | ( | ) | [inline] |
virtual DbRetVal NetworkServer::handleClient | ( | ) | [pure virtual] |
void NetworkServer::setServerPort | ( | int | p | ) | [inline] |
virtual DbRetVal NetworkServer::start | ( | ) | [pure virtual] |
virtual DbRetVal NetworkServer::stop | ( | ) | [pure virtual] |
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().