#include <ProxyCommandProcessor.h>
Inheritance diagram for ProxyCommandProcessor::
Public Methods | |
ProxyCommandProcessor (int proxyPort=PROXY_PORT) | |
virtual void | stopThread () |
virtual void | toStream (std::ostream &out) |
Protected Methods | |
virtual void | readCommand (std::string *input) |
This is the main loop for the ProxyCommandProcessor thread. More... | |
virtual void | displayResponse (std::string *output) |
Send an HTTP/HTML page back to the user. More... | |
virtual void | generateError (std::string *input, std::ostream &out) |
Private Attributes | |
TcpConnection * | m_listener |
TcpConnection * | m_connection |
|
Definition at line 4 of file ProxyCommandProcessor.cpp. |
|
Send an HTTP/HTML page back to the user.
Reimplemented from CommandProcessor. Definition at line 75 of file ProxyCommandProcessor.cpp. |
|
Reimplemented from CommandProcessor. Definition at line 84 of file ProxyCommandProcessor.cpp. |
|
This is the main loop for the ProxyCommandProcessor thread. It implements a shoddy version of HTTP 1.0. It receives requests, sends the response, and closes the port. It then loops back and starts again. Reimplemented from CommandProcessor. Definition at line 29 of file ProxyCommandProcessor.cpp. |
|
Reimplemented from CommandProcessor. Definition at line 13 of file ProxyCommandProcessor.cpp. |
|
Reimplemented from CommandProcessor. Definition at line 110 of file ProxyCommandProcessor.cpp. |
|
Definition at line 24 of file ProxyCommandProcessor.h. |
|
Definition at line 23 of file ProxyCommandProcessor.h. |