00001 #ifndef CDXLPACKETHANDLER_H_ 00002 #define CDXLPACKETHANDLER_H_ 00003 00004 #include "CDxlPacket.hpp" 00005 00006 class CDxlPacketHandler 00007 { 00008 public: 00009 virtual ~CDxlPacketHandler() { } 00010 virtual int init() = 0; 00011 virtual int sendPacket(CDxlPacket *packet, bool replyExpected) = 0; 00012 virtual int receivePacketWait(CDxlStatusPacket *packet, int seconds, int microseconds) = 0; 00013 virtual int getLastError() = 0; 00014 }; 00015 00016 #endif /* CDXLPACKETHANDLER_H_ */