EPICS ARCHIVER V4
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups
Public Member Functions | List of all members
HTTPClientConnection Class Reference

Handler for a HTTPServer's client. More...

#include <HTTPServer.h>

Inheritance diagram for HTTPClientConnection:

Public Member Functions

 HTTPClientConnection (HTTPServer *server, SOCKET socket, int num)
 Constructor.
 
virtual ~HTTPClientConnection ()
 Destructor.
 
HTTPServergetServer ()
 Returns server.
 
SOCKET getSocket ()
 Returns socket.
 
size_t getNum ()
 
bool isDone ()
 Checks if done.
 
void error (const std::string &message)
 Predefined PathHandler. More...
 
void pathError (const std::string &path)
 Predefined PathHandler. More...
 
void start ()
 Start.
 
void run ()
 Run.
 
const epicsTime & getBirthTime ()
 
double getRuntime () const
 
void join ()
 Join.
 

Detailed Description

Handler for a HTTPServer's client.

Handles input and dispatches to a PathHandler from PathList. It's deleted when the connection is closed.

Member Function Documentation

void HTTPClientConnection::error ( const std::string &  message)

Predefined PathHandler.

const epicsTime& HTTPClientConnection::getBirthTime ( )
inline
Returns
birth time
size_t HTTPClientConnection::getNum ( )
inline
Returns
num
double HTTPClientConnection::getRuntime ( ) const
inline
Returns
The runtime in seconds.
void HTTPClientConnection::pathError ( const std::string &  path)

Predefined PathHandler.


The documentation for this class was generated from the following file: