00001 #ifndef _EPPTRANSPORT_H_
00002 #define _EPPTRANSPORT_H_
00003
00004 #include "eppxml.h"
00005 #include <stlrt/atypes.h>
00006 #include <Comm/atracer.h>
00007
00008 #include <epplibconfig.h>
00009
00014 class EPPLIB_DECL EPPTRANSPORT {
00015 public:
00016
00023 EPPTRANSPORT(EPPXML * pXml, map<Str,Str> params) {pEppXml = pXml; ex = params;};
00024 virtual ~EPPTRANSPORT(void) {delete pEppXml;};
00025
00030 virtual void send(void) = 0;
00031
00036 virtual Str recv(void) = 0;
00037
00038 EPPXML * pEppXml;
00039 map<Str,Str> ex;
00040 };
00041 #endif