TcpServer.h File Reference

#include <netinet/in.h>
#include "Poller.h"
#include "TcpConnection.h"

Include dependency graph for TcpServer.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TcpServer

Defines

#define TCP_SERVER(c)   (dynamic_cast<TcpServer *>(c))

Variables

static const char *const MSG_SOCKET_CANNOT_LISTEN = "Cannot listen socket (%s)."
static const char *const MSG_SOCKET_CANNOT_ACCEPT_CONNECTION = "Cannot accept imcoming connection (%s)."
static const unsigned int TCP_SERVER_CONNECTION_QUEUE_SIZE = 16


Define Documentation

#define TCP_SERVER (  )     (dynamic_cast<TcpServer *>(c))

Definition at line 23 of file TcpServer.h.

Referenced by Poller::poll().


Variable Documentation

const char* const MSG_SOCKET_CANNOT_ACCEPT_CONNECTION = "Cannot accept imcoming connection (%s)." [static]

Definition at line 17 of file TcpServer.h.

Referenced by TcpServer::accept().

const char* const MSG_SOCKET_CANNOT_LISTEN = "Cannot listen socket (%s)." [static]

Definition at line 16 of file TcpServer.h.

Referenced by TcpServer::TcpServer().

const unsigned int TCP_SERVER_CONNECTION_QUEUE_SIZE = 16 [static]

Definition at line 19 of file TcpServer.h.

Referenced by TcpServer::TcpServer().


Generated on Thu Sep 6 20:12:58 2007 for Pylon Application Platform by  doxygen 1.5.1