21 #ifndef TPSTREAMER_HPP
22 #define TPSTREAMER_HPP
24 #include "TPMutex.hpp"
27 typedef unsigned int TPStreamerDirection;
50 virtual void Append(std::string buffer);
56 virtual void Append(
const char* buffer,
size_t bsize);
70 virtual bool Extract(std::string* buffer, std::string hdr,
83 virtual bool Has(std::string hdr, std::string trl,
91 virtual int Count(std::string hdr);
95 virtual void Dump(
void);
100 virtual int Size(
void);
104 virtual void Clear(
void);
115 virtual bool ImplHas(std::string hdr, std::string trl,
116 TPStreamerDirection direction);