From 25b293616b63fd93f588737b06970f565b6ca043 Mon Sep 17 00:00:00 2001 From: Aditya Agarwal Date: Sat, 9 Dec 2006 00:58:15 +0000 Subject: [PATCH] -- Rename TBufferedFileWriter.h/cpp to TFileTransport.h/cpp Summary: -- Thrift logfile is now officially in action! Reviewed By: Mark Slee git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664891 13f79535-47bb-0310-9956-ffa450edef68 --- lib/cpp/Makefile.am | 4 ++-- lib/cpp/src/transport/TBufferedRouterTransport.h | 2 +- .../transport/{TBufferedFileWriter.cpp => TFileTransport.cpp} | 2 +- .../src/transport/{TBufferedFileWriter.h => TFileTransport.h} | 0 test/cpp/src/main.cpp | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) rename lib/cpp/src/transport/{TBufferedFileWriter.cpp => TFileTransport.cpp} (99%) rename lib/cpp/src/transport/{TBufferedFileWriter.h => TFileTransport.h} (100%) diff --git a/lib/cpp/Makefile.am b/lib/cpp/Makefile.am index 67ab0987..771830af 100644 --- a/lib/cpp/Makefile.am +++ b/lib/cpp/Makefile.am @@ -11,7 +11,7 @@ libthrift_sources = src/concurrency/Mutex.cpp \ src/concurrency/ThreadManager.cpp \ src/concurrency/TimerManager.cpp \ src/protocol/TBinaryProtocol.cpp \ - src/transport/TBufferedFileWriter.cpp \ + src/transport/TFileTransport.cpp \ src/transport/TBufferedRouterTransport.cpp \ src/transport/TSocket.cpp \ src/transport/TServerSocket.cpp \ @@ -52,7 +52,7 @@ include_protocol_HEADERS = \ include_transportdir = $(include_thriftdir)/transport include_transport_HEADERS = \ - src/transport/TBufferedFileWriter.h \ + src/transport/TFileTransport.h \ src/transport/TBufferedRouterTransport.h \ src/transport/TServerSocket.h \ src/transport/TServerTransport.h \ diff --git a/lib/cpp/src/transport/TBufferedRouterTransport.h b/lib/cpp/src/transport/TBufferedRouterTransport.h index b89198e1..3a5e3941 100644 --- a/lib/cpp/src/transport/TBufferedRouterTransport.h +++ b/lib/cpp/src/transport/TBufferedRouterTransport.h @@ -14,7 +14,7 @@ using namespace boost; /** * BufferedRouterTransport. Funcationally equivalent to TBufferedTransport * but routes the request to another Transport (typical use case is to route - * the request to TBufferedFileWriter to store the request on disk). The + * the request to TFileTransport to store the request on disk). The * underlying buffer expands to a keep a copy of the entire request/response. * * @author Aditya Agarwal diff --git a/lib/cpp/src/transport/TBufferedFileWriter.cpp b/lib/cpp/src/transport/TFileTransport.cpp similarity index 99% rename from lib/cpp/src/transport/TBufferedFileWriter.cpp rename to lib/cpp/src/transport/TFileTransport.cpp index 063c9fe4..7bc0e4ab 100644 --- a/lib/cpp/src/transport/TBufferedFileWriter.cpp +++ b/lib/cpp/src/transport/TFileTransport.cpp @@ -1,4 +1,4 @@ -#include "TBufferedFileWriter.h" +#include "TFileTransport.h" #include "TTransportUtils.h" #include diff --git a/lib/cpp/src/transport/TBufferedFileWriter.h b/lib/cpp/src/transport/TFileTransport.h similarity index 100% rename from lib/cpp/src/transport/TBufferedFileWriter.h rename to lib/cpp/src/transport/TFileTransport.h diff --git a/test/cpp/src/main.cpp b/test/cpp/src/main.cpp index 47ae671b..47da7970 100644 --- a/test/cpp/src/main.cpp +++ b/test/cpp/src/main.cpp @@ -10,7 +10,7 @@ #include #include #include -#include +#include #include #include "Service.h" -- 2.17.1