From: Asbjorn M. <ste...@us...> - 2002-02-21 14:07:30
|
Update of /cvsroot/epp-rtk/epp-rtk/c++/src/data In directory usw-pr-cvs1:/tmp/cvs-serv31073 Added Files: epp_GenericReq.h epp_GenericRsp.h epp_GenericCheckRsp.h Log Message: Added generic response- and request-classes epp_GenericRsp, epp_GenericCheckRsp and eppGenericReq... --- NEW FILE: epp_GenericReq.h --- /************************************************************************ * EPP RTK C++ * Copyright (C) 2001, 2002 The Global Name Registry, Limited * * This library is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. * * This library is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * Contact information: ep...@gn... * * EPP RTK * The Global Name Registry, Limited * 125 High Holborn * London WC1V 6QA * United Kingdom ************************************************************************/ #ifndef __EPP_GENERICREQ_H #define __EPP_GENERICREQ_H #include "epp_Command.h" namespace eppobject { namespace epp { class epp_GenericReq { public: //Data members: epp_Command_ref m_cmd; //Constructors: epp_GenericReq() {}; epp_GenericReq(epp_Command_ref _m_cmd) { m_cmd = _m_cmd; }; //Destructor: virtual ~epp_GenericReq() {}; }; typedef refcnt_ptr<epp_GenericReq> epp_GenericReq_ref; }}; #endif --- NEW FILE: epp_GenericRsp.h --- /************************************************************************ * EPP RTK C++ * Copyright (C) 2001, 2002 The Global Name Registry, Limited * * This library is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. * * This library is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * Contact information: ep...@gn... * * EPP RTK * The Global Name Registry, Limited * 125 High Holborn * London WC1V 6QA * United Kingdom ************************************************************************/ #ifndef __EPP_GENERICRSP_H #define __EPP_GENERICRSP_H #include "epp_Response.h" namespace eppobject { namespace epp { class epp_GenericRsp { public: //Data members: epp_Response_ref m_rsp; //Constructors: epp_GenericRsp() {}; epp_GenericRsp(epp_Response_ref _m_rsp) { m_rsp = _m_rsp; }; //Destructor: virtual ~epp_GenericRsp() {}; }; typedef refcnt_ptr<epp_GenericRsp> epp_GenericRsp_ref; }}; #endif --- NEW FILE: epp_GenericCheckRsp.h --- /************************************************************************ * EPP RTK C++ * Copyright (C) 2001, 2002 The Global Name Registry, Limited * * This library is free software; you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License as published * by the Free Software Foundation; either version 2.1 of the License, or * (at your option) any later version. * * This library is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * Contact information: ep...@gn... * * EPP RTK * The Global Name Registry, Limited * 125 High Holborn * London WC1V 6QA * United Kingdom ************************************************************************/ #ifndef __EPP_GENERICCHECKRSP_H #define __EPP_GENERICCHECKRSP_H #include "epp_GenericRsp.h" #include "epp_CheckResult.h" namespace eppobject { namespace epp { class epp_GenericCheckRsp : public epp_GenericRsp { public: epp_check_result_seq_ref m_results; epp_GenericCheckRsp() {}; virtual ~epp_GenericCheckRsp() {} epp_GenericCheckRsp(epp_Response_ref _m_rsp, epp_check_result_seq_ref _m_results) : epp_GenericRsp(_m_rsp) { m_results = _m_results; }; }; typedef refcnt_ptr<epp_GenericCheckRsp> epp_GenericCheckRsp_ref; }}; #endif |