MetriVis | Overview | Download | User Manual | Development |
Reference | Overview | Design Documentation | Reference Backend | Reference Frontend |
00001 /* 00002 * MetriVis - Metrics Visualization Application 00003 * 00004 * 00005 * License notice: 00006 * 00007 * This program is free software: you can redistribute it and/or modify 00008 * it under the terms of the GNU General Public License as published by 00009 * the Free Software Foundation, either version 3 of the License, or 00010 * (at your option) any later version. 00011 * 00012 * This program is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 * GNU General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU General Public License 00018 * along with this program. If not, see <http://www.gnu.org/licenses/>. 00019 * 00020 */ 00021 00022 #ifndef _METRIVIS_SQL_2_JSON_DISPATCHER_H 00023 #define _METRIVIS_SQL_2_JSON_DISPATCHER_H 00024 00025 00033 #include "RequestDispatcher.h" 00034 #include "RequestDescription.h" 00035 00036 00037 namespace metrivis { 00038 00039 // Prototype class declarations. 00040 00041 00042 00050 class SQL2JsonDispatcher : public RequestDispatcher { 00051 00052 public: 00056 SQL2JsonDispatcher(int clone_id = -1); 00057 00061 virtual ~SQL2JsonDispatcher(); 00062 00070 virtual int Init(); 00071 00072 00079 virtual int Uninit(); 00080 00081 00082 protected: 00083 00090 void Run(); 00091 00092 00093 private: 00094 00095 00096 00097 }; 00098 00099 } // namespace metrivis 00100 00101 #endif // _METRIVIS_SQL_2_JSON_DISPATCHER_H