#include "ConnectionFactory.h"Include dependency graph for ConnectionFactory.C:

Go to the source code of this file.
Defines | |
| #define | MAXHEADERSIZE 4096 |
Functions | |
| string * | attemptHeader (BufferedFile *file) |
| attempts to read the header from file. | |
| int | server (int port) |
| Start a server on port port and return the servers fd. | |
| int | max (int a, int b) |
|
|
Definition at line 42 of file ConnectionFactory.C. Referenced by attemptHeader(). |
|
|
attempts to read the header from file. Will pushback any data that wasn't in the header. Definition at line 44 of file ConnectionFactory.C. References BUFFER_READ, BufferedFile::getWait(), MAXHEADERSIZE, BufferedFile::pushBack(), BufferedFile::Read(), BufferedFile::ready(), and BufferedFile::setWait(). |
|
||||||||||||
|
Definition at line 84 of file ConnectionFactory.C. |
|
|
Start a server on port port and return the servers fd.
Definition at line 252 of file ConnectionFactory.C. Referenced by ConnectionFactory::init(). |
1.2.18