include/BrOrgCheck.H

Go to the documentation of this file.
00001 /* ${copyright}$ */
00002 /* $Id: BrOrgCheck.H 818 2006-08-22 18:10:42Z milena $ */
00007 #ifndef __BR_ORG_CHECK_H__
00008 #define __BR_ORG_CHECK_H__
00009 
00010 #include "ContactCheck.H"
00011 #include "BrOrgCheckCmd.H"
00012 #include "BrOrgCheckRsp.H"
00013 
00014 LIBEPP_NICBR_NS_BEGIN
00015 
00017 class BrOrgCheck : public ContactCheck
00018 {
00019 public:
00021   BrOrgCheck(const ActionType type = BR_ORG_CHECK) : ContactCheck(type)
00022   {
00023     if (type == BR_ORG_CHECK) {
00024       _command = auto_ptr<BrOrgCheckCmd>(new BrOrgCheckCmd());
00025       _response = auto_ptr<BrOrgCheckRsp>(new BrOrgCheckRsp());
00026     }
00027   }
00028   
00030 
00033   void set_xml_template(const string &xml_template);
00034 
00036 
00039   BrOrgCheckRsp* get_response() 
00040   { 
00041     return (BrOrgCheckRsp*) _response.get(); 
00042   }
00043   
00045 
00048   BrOrgCheckCmd* get_command() 
00049   { 
00050     return (BrOrgCheckCmd*) _command.get(); 
00051   }
00052  
00053 };
00054 
00055 LIBEPP_NICBR_NS_END
00056 #endif //__BR_ORG_CHECK_H__

Generated on Tue Mar 20 13:02:18 2007 for libepp_nicbr by  doxygen 1.4.7