include/DomainRenewRsp.H

Go to the documentation of this file.
00001 /* ${copyright}$ */
00002 /* $Id: DomainRenewRsp.H 450 2006-02-21 12:28:46Z eduardo $ */
00007 #ifndef __DOMAIN_RENEW_RSP_H__
00008 #define __DOMAIN_RENEW_RSP_H__
00009 
00010 #include <string>
00011 
00012 #include "libepp_nicbr.H"
00013 
00014 #include "Response.H"
00015 
00016 using std::string;
00017 
00018 LIBEPP_NICBR_NS_BEGIN
00019 
00021 class DomainRenewRsp : public Response
00022 {
00023 public:
00025   DomainRenewRsp(bool reset = true) : Response(false)
00026   {
00027     if (reset) {
00028       this->reset();
00029     }
00030   }
00031 
00033 
00036   void set_name(string name) { _name = name; }
00037 
00039 
00042   string get_name() { return _name; }
00043 
00045 
00048   void set_exDate(string exDate) { _exDate = exDate; }
00049 
00051 
00054   string get_exDate() { return _exDate; }
00055 
00056   void reset()
00057   {
00058     Response::reset();
00059     _name = "";
00060     _exDate = "";
00061   }
00062 
00063 protected:
00064 
00066   string _name;
00067 
00070   string _exDate;
00071   
00072 };
00073 
00074 LIBEPP_NICBR_NS_END
00075 #endif //__DOMAIN_RENEW_RSP_H__

Generated on Thu Jun 8 17:40:00 2006 for libepp_nicbr by  doxygen 1.4.6