Main Page | Namespace List | Class Hierarchy | Compound List | File List | Compound Members | File Members

DCDT_Httpd.h

Go to the documentation of this file.
00001 /****************************************************************************
00002 dEVICE cOMMUNITIES dEVELOPMENT tOOLKIT 
00003 
00004 DCDT_Httpd.h
00005 
00006 COPYRIGHT (C) 2002  Paolo Meriggi (meriggi@ing.unibs.it)
00007 
00008 
00009 This library is free software; you can redistribute it and/or
00010 modify it under the terms of the GNU Lesser General Public
00011 License as published by the Free Software Foundation; either
00012 version 2 of the License, or (at your option) any later version.
00013 
00014 This library is distributed in the hope that it will be useful,
00015 but WITHOUT ANY WARRANTY; without even the implied warranty of
00016 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00017 Lesser General Public License for more details.
00018 
00019 You should have received a copy of the GNU Lesser General Public
00020 License along with this library; if not, write to the Free Software
00021 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA.
00022 
00023 ****************************************************************************/
00024 
00025 #ifdef HAVE_HTTPD
00026 
00027 #ifndef DCDT_HTTPD_H
00028 #define DCDT_HTTPD_H
00029 
00030 #include <DCDT_Defs.h>
00031 #include <DCDT_Msg.h>
00032 #include <DCDT_Member.h>
00033 #include <httpd.h>
00034 
00038 class DCDT_Httpd : public DCDT_Member {
00039   public:
00040   DCDT_Httpd( DCDT_Agora *agora );
00041   ~DCDT_Httpd();
00042 
00043   void Init();
00044   void Close();
00045   void DoYourJob(int = 0);
00046 
00047   void AgoraStatus ( char *buffer, int len );
00048   void PostOfficeStatus ( char *buffer, int len );
00049   void PostOfficeQueue ( char *buffer, int len );
00050 
00051   private:
00052   httpd *server;
00053   FILE *access_log, *error_log;
00054 
00055 };
00056 
00057 #endif // define
00058 
00059 #endif // HAVE_HTTPD

Generated on Fri Jul 16 12:29:45 2004 for dcdt by doxygen 1.3.2