-- TFileTransport (Thrift Logfile)
authorAditya Agarwal <aditya@apache.org>
Fri, 8 Dec 2006 23:52:57 +0000 (23:52 +0000)
committerAditya Agarwal <aditya@apache.org>
Fri, 8 Dec 2006 23:52:57 +0000 (23:52 +0000)
commite9ef8d7ce98484599730ffc0a2f17d64dc69d944
tree4678b5ca986d3bbdbb456e4ada91fc5ae81557a7
parent962a8585663db144150c98e4a6adc275a2a473a7
-- TFileTransport (Thrift Logfile)

Summary:
-- TBufferedFileWriter.h/cpp will be renamed to TFileTransport.h/cpp in the next commit.
-- TFileTransport is essentially reading and writing thrift calls to/from a file instead of a
   socket.
-- The code/design is somewhat similar to pillar_logfile but there are some significant changes.

todo:
-- still need to do error correction/detection

Reviewed By: Mark Slee

Test Plan:
-- Wrote test in thrift/test/cpp/src/main.cpp that appends to a file and replays requests

Notes:
It's finally time to port search over to Thrift

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664889 13f79535-47bb-0310-9956-ffa450edef68
lib/cpp/src/transport/TBufferedFileWriter.cpp
lib/cpp/src/transport/TBufferedFileWriter.h
lib/cpp/src/transport/TTransportException.h
lib/cpp/src/transport/TTransportUtils.h
test/cpp/src/main.cpp