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