FlightGear next
flightgear::http::RegularConnection Class Reference

Inherits flightgear::http::MongooseConnection.

Public Member Functions

 RegularConnection (MongooseHttpd *httpd)
 
virtual ~RegularConnection ()
 
virtual void close (struct mg_connection *connection)
 
virtual int poll (struct mg_connection *connection)
 
virtual int request (struct mg_connection *connection)
 
- Public Member Functions inherited from flightgear::http::MongooseConnection
 MongooseConnection (MongooseHttpd *httpd)
 
virtual ~MongooseConnection ()
 
virtual int onConnect (struct mg_connection *connection)
 
virtual void write (const char *data, size_t len)
 
- Public Member Functions inherited from flightgear::http::Connection
void put (const std::string &key, SGSharedPtr< ConnectionData > value)
 
SGSharedPtr< ConnectionDataget (const std::string &key)
 
void remove (const std::string &key)
 

Additional Inherited Members

- Static Public Member Functions inherited from flightgear::http::MongooseConnection
static MongooseConnectiongetConnection (MongooseHttpd *httpd, struct mg_connection *connection)
 
- Protected Member Functions inherited from flightgear::http::MongooseConnection
void setConnection (struct mg_connection *connection)
 
- Protected Attributes inherited from flightgear::http::MongooseConnection
MongooseHttpd_httpd
 
struct mg_connection * _connection
 

Detailed Description

Definition at line 255 of file httpd.cxx.

Constructor & Destructor Documentation

◆ RegularConnection()

flightgear::http::RegularConnection::RegularConnection ( MongooseHttpd * httpd)
inline

Definition at line 257 of file httpd.cxx.

◆ ~RegularConnection()

virtual flightgear::http::RegularConnection::~RegularConnection ( )
inlinevirtual

Definition at line 261 of file httpd.cxx.

Member Function Documentation

◆ close()

void flightgear::http::RegularConnection::close ( struct mg_connection * connection)
virtual

Implements flightgear::http::MongooseConnection.

Definition at line 369 of file httpd.cxx.

◆ poll()

int flightgear::http::RegularConnection::poll ( struct mg_connection * connection)
virtual

Implements flightgear::http::MongooseConnection.

Definition at line 361 of file httpd.cxx.

◆ request()

int flightgear::http::RegularConnection::request ( struct mg_connection * connection)
virtual

Implements flightgear::http::MongooseConnection.

Definition at line 317 of file httpd.cxx.


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