Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

[1cff17]: src / org / esb / hive / Command.h Maximize Restore History

Download this file

Command.h    33 lines (31 with data), 698 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef ORG_ESB_HIVE_COMMAND_H
#define ORG_ESB_HIVE_COMMAND_H
#define TEXT_MODE 1
#define BINARY_MODE 2
#include <string>
using namespace std;
namespace org {
namespace esb {
namespace hive {
class Command {
public:
Command();
~Command();
void setCommand(const char *com);
void setCommand(string & command);
string & getCommand();
void setData(const void *data);
const void *getData();
void setDataLength(int datalength);
int getDataLength();
bool getMode();
private:
string _command;
const void *_data;
int _datalength;
bool _mode;
};
}
}
}
#endif