Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

ProxyCommandProcessor.h

Go to the documentation of this file.
00001 #ifndef __PROXYCOMMANDPROCESSOR_H
00002 #define __PROXYCOMMANDPROCESSOR_H
00003 
00004 #include <string>
00005 #include <iostream>
00006 
00007 #include "os_spec.h"
00008 #include "CommandProcessor.h"
00009 #include "TcpConnection.h"
00010 
00011 class ProxyCommandProcessor : public CommandProcessor {
00012 public:
00013     ProxyCommandProcessor(int proxyPort = PROXY_PORT);
00014     virtual void stopThread();
00015     virtual void toStream(std::ostream& out);
00016 
00017 protected:
00018     virtual void readCommand(std::string* input);
00019     virtual void displayResponse(std::string* output);
00020     virtual void generateError(std::string* input, std::ostream& out);
00021 
00022 private:
00023     TcpConnection* m_listener;
00024     TcpConnection* m_connection;
00025 };
00026 
00027 
00028 #endif
00029 

Generated at Thu Jul 11 13:31:51 2002 for Peekabooty by doxygen1.2.9 written by Dimitri van Heesch, © 1997-2001