include/AsnRenewRsp.H

Go to the documentation of this file.
00001 /* ${copyright}$ */
00002 /* $Id: AsnRenewRsp.H 947 2008-12-09 18:31:03Z rafael $ */
00007 #ifndef __ASNRENEWRSP_H__
00008 #define __ASNRENEWRSP_H__
00009 
00010 #include "libepp_nicbr.H"
00011 
00012 #include "Response.H"
00013 
00014 LIBEPP_NICBR_NS_BEGIN
00015 
00017 class AsnRenewRsp : public Response
00018 {
00019 public:
00020   AsnRenewRsp(bool reset = true) : Response(false)
00021   {
00022     if (reset) {
00023       this->reset();
00024     }
00025   }
00026 
00028 
00031   void set_asn(const int asn)
00032   {
00033     _asn = asn;
00034   }
00035 
00037 
00040   int get_asn() const
00041   {
00042     return _asn;
00043   }
00044 
00046 
00050   void set_expDate(const string &expDate)
00051   {
00052     _expDate = expDate;
00053   }
00054 
00056 
00060   string get_expDate() const
00061   {
00062     return _expDate;
00063   }
00064 
00065   void reset()
00066   {
00067     Response::reset();
00068     _asn = 0;
00069     _expDate = "";
00070   }
00071 
00072 protected:
00074   int _asn;
00075   
00077   string _expDate;
00078 };
00079 
00080 LIBEPP_NICBR_NS_END
00081 #endif // __ASNRENEWRSP_H__

Generated on Tue Mar 17 16:03:07 2009 for libepp_nicbr by  doxygen 1.4.7