libepp_nicbr
IpNetworkTransferCmd.H
Go to the documentation of this file.
1 /* ${copyright}$ */
2 /* $Id: IpNetworkTransferCmd.H 1086 2010-12-10 13:07:28Z eduardo $ */
7 #ifndef __IPNETWORKTRANSFERCMD_H__
8 #define __IPNETWORKTRANSFERCMD_H__
9 
10 #include <string>
11 
12 #include "libepp_nicbr.H"
13 
14 #include "Command.H"
15 
16 using std::string;
17 
18 LIBEPP_NICBR_NS_BEGIN
19 
22 {
23 public:
25  IpNetworkTransferCmd(bool reset = true) : Command(false)
26  {
27  if (reset) {
28  this->reset();
29  }
30  }
31 
33 
36  void set_operation(const string &op)
37  {
38  _operation = op;
39  }
40 
42 
45  string get_operation() const
46  {
47  return _operation;
48  }
49 
51 
54  void set_roid(const string &roid)
55  {
56  _roid = roid;
57  }
58 
60 
63  string get_roid() const
64  {
65  return _roid;
66  }
67 
68  void reset()
69  {
71  _operation = "";
72  _roid = "";
73  }
74 
75 protected:
77  string _operation;
79  string _roid;
80 };
81 
82 LIBEPP_NICBR_NS_END
83 #endif // __IPNETWORKTRANSFERCMD_H__
string get_operation() const
Returns operation.
Definition: IpNetworkTransferCmd.H:45
string get_roid() const
Returns repository object ID.
Definition: IpNetworkTransferCmd.H:63
Project defines.
void set_operation(const string &op)
Sets operation.
Definition: IpNetworkTransferCmd.H:36
string _roid
server-unique id for the created IP network
Definition: IpNetworkTransferCmd.H:79
void set_roid(const string &roid)
Sets repository object ID.
Definition: IpNetworkTransferCmd.H:54
IpNetworkTransferCmd(bool reset=true)
Default constructor.
Definition: IpNetworkTransferCmd.H:25
EPP IpNetworkTransferCmd Class.
Definition: IpNetworkTransferCmd.H:21
string _operation
identifies the transfer operation to be performed
Definition: IpNetworkTransferCmd.H:77
void reset()
Reset object attributes.
Definition: Command.H:33
EPP Command Class.
Definition: Command.H:18
EPP Command Class.