ServerWebHandler.h

Go to the documentation of this file.
00001 ////////////////////////////////////////////////////////////////////////////////
00002 //    Scorched3D (c) 2000-2004
00003 //
00004 //    This file is part of Scorched3D.
00005 //
00006 //    Scorched3D is free software; you can redistribute it and/or modify
00007 //    it under the terms of the GNU General Public License as published by
00008 //    the Free Software Foundation; either version 2 of the License, or
00009 //    (at your option) any later version.
00010 //
00011 //    Scorched3D is distributed in the hope that it will be useful,
00012 //    but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 //    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014 //    GNU General Public License for more details.
00015 //
00016 //    You should have received a copy of the GNU General Public License
00017 //    along with Scorched3D; if not, write to the Free Software
00018 //    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00019 ////////////////////////////////////////////////////////////////////////////////
00020 
00021 #if !defined(__INCLUDE_ServerWebHandlerh_INCLUDE__)
00022 #define __INCLUDE_ServerWebHandlerh_INCLUDE__
00023 
00024 #include <webserver/ServerWebServer.h>
00025 
00026 namespace ServerWebHandler
00027 {
00028 
00029         class PlayerHandler : public ServerWebServerI
00030         {
00031         public:
00032                 virtual ServerWebServerI *createCopy() { return new PlayerHandler(); }
00033                 virtual bool processRequest(
00034                         ServerWebServerIRequest &request,
00035                         std::string &text);
00036         };
00037         class PlayerHandlerThreaded : public ServerWebServerI
00038         {
00039         public:
00040                 virtual ServerWebServerI *createCopy() { return new PlayerHandlerThreaded(); }
00041                 virtual bool processRequest(
00042                         ServerWebServerIRequest &request,
00043                         std::string &text);
00044         };
00045 
00046         class LogFileHandler : public ServerWebServerI
00047         {
00048         public:
00049                 virtual ServerWebServerI *createCopy() { return new LogFileHandler(); }
00050                 virtual bool processRequest(
00051                         ServerWebServerIRequest &request,
00052                         std::string &text);
00053         };
00054 
00055         class LogHandler : public ServerWebServerI
00056         {
00057         public:
00058                 virtual ServerWebServerI *createCopy() { return new LogHandler(); }
00059                 virtual bool processRequest(
00060                         ServerWebServerIRequest &request,
00061                         std::string &text);
00062         };
00063 
00064         class GameHandler : public ServerWebServerI
00065         {
00066         public:
00067                 virtual ServerWebServerI *createCopy() { return new GameHandler(); }
00068                 virtual bool processRequest(
00069                         ServerWebServerIRequest &request,
00070                         std::string &text);
00071         };
00072 
00073         class ServerHandler : public ServerWebServerI
00074         {
00075         public:
00076                 virtual ServerWebServerI *createCopy() { return new ServerHandler(); }
00077                 virtual bool processRequest(
00078                         ServerWebServerIRequest &request,
00079                         std::string &text);
00080         };
00081 
00082         class BannedHandler : public ServerWebServerI
00083         {
00084         public:
00085                 virtual ServerWebServerI *createCopy() { return new BannedHandler(); }
00086                 virtual bool processRequest(
00087                         ServerWebServerIRequest &request,
00088                         std::string &text);
00089         };
00090 
00091         class ModsHandler : public ServerWebServerI
00092         {
00093         public:
00094                 virtual ServerWebServerI *createCopy() { return new ModsHandler(); }
00095                 virtual bool processRequest(
00096                         ServerWebServerIRequest &request,
00097                         std::string &text);
00098         };
00099 
00100         class SessionsHandler : public ServerWebServerI
00101         {
00102         public:
00103                 virtual ServerWebServerI *createCopy() { return new SessionsHandler(); }
00104                 virtual bool processRequest(
00105                         ServerWebServerIRequest &request,
00106                         std::string &text);
00107         };
00108 
00109         class AccountHandler : public ServerWebServerI
00110         {
00111         public:
00112                 virtual ServerWebServerI *createCopy() { return new AccountHandler(); }
00113                 virtual bool processRequest(
00114                         ServerWebServerIRequest &request,
00115                         std::string &text);
00116         };
00117 
00118         class StatsHandler : public ServerWebServerI
00119         {
00120         public:
00121                 virtual ServerWebServerI *createCopy() { return new StatsHandler(); }
00122                 virtual bool processRequest(
00123                         ServerWebServerIRequest &request,
00124                         std::string &text);
00125         };
00126 
00127 
00128 };
00129 
00130 #endif // __INCLUDE_ServerWebHandlerh_INCLUDE__

Generated on Mon Feb 16 15:14:53 2009 for Scorched3D by  doxygen 1.5.3