00001 /* ${copyright}$ */ 00002 /* $Id: IpNetworkTransferCmd.H 958 2008-12-11 14:36:22Z eduardo $ */ 00007 #ifndef __IPNETWORKTRANSFERCMD_H__ 00008 #define __IPNETWORKTRANSFERCMD_H__ 00009 00010 #include <string> 00011 00012 #include "libepp_nicbr.H" 00013 00014 #include "Command.H" 00015 00016 using std::string; 00017 00018 LIBEPP_NICBR_NS_BEGIN 00019 00021 class IpNetworkTransferCmd : public Command 00022 { 00023 public: 00025 IpNetworkTransferCmd(bool reset = true) : Command(false) 00026 { 00027 if (reset) { 00028 this->reset(); 00029 } 00030 } 00031 00033 00036 void set_operation(const string &op) 00037 { 00038 _operation = op; 00039 } 00040 00042 00045 string get_operation() const 00046 { 00047 return _operation; 00048 } 00049 00051 00054 void set_roid(const string &roid) 00055 { 00056 _roid = roid; 00057 } 00058 00060 00063 string get_roid() const 00064 { 00065 return _roid; 00066 } 00067 00068 void reset() 00069 { 00070 Command::reset(); 00071 _operation = ""; 00072 _roid = ""; 00073 } 00074 00075 protected: 00077 string _operation; 00079 string _roid; 00080 }; 00081 00082 LIBEPP_NICBR_NS_END 00083 #endif // __IPNETWORKTRANSFERCMD_H__