-- Thrift Log File
Summary:
-- This is the thrifty version of Pillar's batch_writer
-- Cleaned up a lot of the code in batch writer and made it conform to Thrift's strict coding standards
-- Added TBufferedRouterTransport.h/cc to actually route messsages via readEnd() to the file writer. It's
not quite as easy to route the messages in Thrift as it was in Pillar
Reviewed By: Slee
Test Plan: Tested by making sure that the file was recording data
Notes:
-- The real correctness test will be when I finish writing TLogFileTransport (pillar_logfile.cpp).
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664826 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cpp/Makefile.am b/lib/cpp/Makefile.am
index 2cb4759..a92de3e 100644
--- a/lib/cpp/Makefile.am
+++ b/lib/cpp/Makefile.am
@@ -11,6 +11,8 @@
src/concurrency/TimerManager.cc \
src/protocol/TBinaryProtocol.cc \
src/transport/TBufferedTransport.cc \
+ src/transport/TBufferedFileWriter.cc \
+ src/transport/TBufferedRouterTransport.cc \
src/transport/TFramedTransport.cc \
src/transport/TMemoryBuffer.cc \
src/transport/TSocket.cc \
@@ -30,7 +32,8 @@
include_thrift_HEADERS = \
config.h \
src/Thrift.h \
- src/TProcessor.h
+ src/TProcessor.h \
+ src/TLogging.h
include_concurrencydir = $(include_thriftdir)/concurrency
include_concurrency_HEADERS = \
@@ -59,7 +62,9 @@
src/transport/TTransport.h \
src/transport/TTransportException.h \
src/transport/TTransportFactory.h \
- src/transport/TBufferedTransportFactory.h
+ src/transport/TBufferedTransportFactory.h \
+ src/transport/TBufferedFileWriter.h \
+ src/transport/TBufferedRouterTransport.h
include_serverdir = $(include_thriftdir)/server
include_server_HEADERS = \