|
| Task (const std::string &name, Tasks::Context &ctx) |
|
void | onResourceAcquisition (void) |
|
void | onResourceRelease (void) |
|
void | onEntityResolution (void) |
|
void | consume (const IMC::Message *msg) |
|
void | consume (const IMC::LogBookEntry *msg) |
|
void | handleGET (TCPSocket *sock, TupleList &headers, const char *uri) |
|
void | handlePOST (TCPSocket *sock, TupleList &headers, const char *uri) |
|
void | handlePUT (TCPSocket *sock, TupleList &headers, const char *uri) |
|
void | sendStaticFile (TCPSocket *sock, TupleList &headers, const Path &file) |
|
void | getMessage (TCPSocket *sock, TupleList &headers, const char *uri) |
|
void | setTime (TCPSocket *sock, TupleList &headers, const char *uri) |
|
void | showMessages (TCPSocket *sock, TupleList &headers, const char *uri) |
|
void | showLogBook (TCPSocket *sock, TupleList &headers, const char *uri) |
|
void | sendVersionJSON (TCPSocket *sock, TupleList &headers, const char *uri) |
|
void | sendAgentJSON (TCPSocket *sock, TupleList &headers, const char *uri) |
|
void | handlePowerChannel (TCPSocket *sock, TupleList &headers, const char *uri) |
|
void | onMain (void) |
|
Public Member Functions inherited from Transports::HTTP::RequestHandler |
| RequestHandler (void) |
|
virtual | ~RequestHandler (void) |
|
virtual void | handleGET (TCPSocket *sock, Utils::TupleList &headers, const char *uri) |
|
virtual void | handlePOST (TCPSocket *sock, Utils::TupleList &headers, const char *uri) |
|
virtual void | handlePUT (TCPSocket *sock, Utils::TupleList &headers, const char *uri) |
|
void | sendHeader (TCPSocket *sock, const char *status_line, int64_t length, HeaderFieldsMap *hdr_fields=0) |
|
void | sendResponse100 (TCPSocket *sock) |
|
void | sendResponse201 (TCPSocket *sock) |
|
void | sendResponse200 (TCPSocket *sock) |
|
void | sendResponse403 (TCPSocket *sock) |
|
void | sendResponse404 (TCPSocket *sock, const std::string &message) |
|
void | sendResponse404 (TCPSocket *sock) |
|
void | sendResponse416 (TCPSocket *sock) |
|
void | sendResponse500 (TCPSocket *sock) |
|
void | sendResponse503 (TCPSocket *sock) |
|
void | sendData (TCPSocket *sock, const char *data, int size, HeaderFieldsMap *hdr_fields=0) |
|
void | sendData (TCPSocket *sock, const std::string &data, HeaderFieldsMap *hdr_fields=0) |
|
void | sendFile (TCPSocket *sock, const std::string &file, HeaderFieldsMap &hdr_fields, int64_t off_beg=-1, int64_t off_end=-1) |
|
void | handleRequest (TCPSocket *sock) |
|