00001 #ifndef _ots_TransceiverSocket_h_
00002 #define _ots_TransceiverSocket_h_
00003
00004 #include "otsdaq-core/NetworkUtilities/TransmitterSocket.h"
00005 #include "otsdaq-core/NetworkUtilities/ReceiverSocket.h"
00006
00007 #include <string>
00008
00009 namespace ots
00010 {
00011
00012 class TransceiverSocket : public TransmitterSocket, public ReceiverSocket
00013 {
00014 public:
00015 TransceiverSocket(std::string IPAddress, unsigned int port=0);
00016 virtual ~TransceiverSocket(void);
00017
00018 int acknowledge(const std::string& buffer, bool verbose=false);
00019 protected:
00020 TransceiverSocket(void);
00021
00022 };
00023
00024 }
00025
00026 #endif