rearranging the commands into their own directory
[gssweb.git] / json_gssapi / src / commands / GSSCommand.h
1 /*
2  * Copyright (c) 2014 <copyright holder> <email>
3  * 
4  * For license details, see the LICENSE file in the root of this project.
5  * 
6  */
7
8 #ifndef GSSCOMMAND_H
9 #define GSSCOMMAND_H
10
11 #include "util_json.h"
12 #include <iostream>
13
14 class GSSCommand
15 {
16 public:
17   GSSCommand() {};
18   GSSCommand(JSONObject params) : parameters(params) { };
19   
20   virtual void execute() { std::cout << "\ninside GSSCommand::invoke()\n"; };  
21   virtual JSONObject *toJSON() { return new JSONObject(); }
22   
23 protected:
24   JSONObject parameters;
25 };
26
27 #endif // GSSCOMMAND_H