Differences between revisions 3 and 4
Revision 3 as of 2009-03-21 03:52:30
Size: 726
Editor: modemcable020
Comment: Use apache namespace instead of facebook and removed gpl license
Revision 4 as of 2009-09-20 23:47:12
Size: 734
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 15: Line 15:
{{inline:StreamTransport.hpp}} {{{{attachment:StreamTransport.hpp}}}}

Thrift Transport for C++ Streams

As I had problem with the TFileTransport (those described at http://publists.facebook.com/pipermail/thrift/2008-January/000357.html) I wrote a transport for C++ streams.

There are three classes of interest:


Transport for std::istream.


Transport for std::ostream.


Transport for std::stream.

All of these classes have a constructor taking a boost::shared_ptr<StreamT> in parameter and can be used as any other thrift transports.




  1. Initial version
  2. Changed license and facebook namespace reference to apache.

C++StreamTransport (last edited 2009-09-20 23:47:12 by localhost)