include/BrDomainCheck.H

Go to the documentation of this file.
00001 /* ${copyright}$ */
00002 /* $Id: BrDomainCheck.H 543 2006-03-07 12:31:53Z cesar $ */
00007 #ifndef __BR_DOMAIN_CHECK_H__
00008 #define __BR_DOMAIN_CHECK_H__
00009 
00010 #include "DomainCheck.H"
00011 #include "BrDomainCheckCmd.H"
00012 #include "BrDomainCheckRsp.H"
00013 
00014 LIBEPP_NICBR_NS_BEGIN
00015 
00017 class BrDomainCheck : public DomainCheck
00018 {
00019 public:
00020 
00022   BrDomainCheck(const ActionType type = BR_DOMAIN_CHECK) : DomainCheck(type)
00023   {
00024     if (type == BR_DOMAIN_CHECK) {
00025       _command = auto_ptr<BrDomainCheckCmd>(new BrDomainCheckCmd());
00026       _response = auto_ptr<BrDomainCheckRsp>(new BrDomainCheckRsp());
00027     }
00028   }
00029 
00031 
00034   void set_xml_template(const string &xml_template);
00035 
00037 
00040   BrDomainCheckCmd* get_command()
00041   {
00042     return (BrDomainCheckCmd *) _command.get();
00043   }
00044 
00046 
00049   BrDomainCheckRsp* get_response()
00050   {
00051     return (BrDomainCheckRsp *) _response.get();
00052   }
00053 };
00054 
00055 LIBEPP_NICBR_NS_END
00056 #endif //__BR_DOMAIN_CHECK_H__

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