00001 #ifndef _ots_TCPDataStreamerBase_h_
00002 #define _ots_TCPDataStreamerBase_h_
00003
00004 #include "otsdaq-core/NetworkUtilities/TCPSocket.h"
00005 #include <string>
00006
00007 namespace ots
00008 {
00009
00010 class TCPDataStreamerBase : public TCPSocket
00011 {
00012 public:
00013 TCPDataStreamerBase(unsigned int port);
00014 virtual ~TCPDataStreamerBase(void);
00015
00016 int send(const std::string& buffer) { return TCPSocket::send(buffer); }
00017 int send(const std::vector<uint32_t>& buffer) { return TCPSocket::send(buffer); }
00018 };
00019
00020 }
00021
00022 #endif