ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/Smersh/Redirector.hpp
Revision: 179
Committed: 2004-07-02T21:16:12-07:00 (21 years ago) by Douglas Thrift
File size: 431 byte(s)
Log Message:
Works now, uses menes-dbi for PostgreSQL.

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 public:
18 Redirector(int port, bool fork, const string& log, const string& redirect) :
19 Daemon(log), redirect(redirect) { serve(port, fork,
20 dynamic_cast<Daemon*>(this)); }
21 ~Redirector() {}
22 };
23
24 #endif // _Redirector_hpp_

Properties

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