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

HttpTestCommandProcessor.h

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

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