#include <string>
+#include "types.hxx"
+
+
namespace libt2n
{
protected:
connection()
- { closed=false; }
+ { closed=false; }
std::string buffer;
virtual void real_write(const std::string& data)=0;
+ virtual std::ostream* get_logstream(log_level_values level)=0;
+
public:
virtual ~connection()
{ close(); }