ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/Smersh/Redirector.hpp
Revision: 253
Committed: 2004-09-13T23:31:24-07:00 (20 years, 9 months ago) by Douglas Thrift
File size: 486 byte(s)
Log Message:
This is a bit futzy!?

File Contents

# Content
1 // Smersh
2 //
3 // Douglas Thrift
4 //
5 // $Id$
6
7 #ifndef _Redirector_hpp_
8 #define _Redirector_hpp_
9
10 #include "Daemon.hpp"
11
12 class Redirector : public Daemon
13 {
14 private:
15 string redirect;
16 int handle(Client* client);
17 string query(const stringstream& post, const Environment& env);
18 public:
19 Redirector(int port, const string& log, const string& redirect) :
20 Daemon(port, log, false), redirect(redirect) {
21 serve(dynamic_cast<Daemon*>(this)); }
22 ~Redirector() {}
23 };
24
25 #endif // _Redirector_hpp_

Properties

Name Value
svn:eol-style native
svn:keywords Id