thrift/lib/cpp
Aditya Agarwal 9abb0d69b7 -- Change concept of protocol and transport factory
Summary:
- Transport factories now wrap around one transport
- Protocol factories now wrap around one transport (as opposed to a pair of input/output
   transports)
- TServer now takes input/output transport and protocol factories

The motivation for this change is that you could concievably want to use a different protocol or
transport for input and output. An example is that incoming data is encoded using binary protocol
but outgoing data is encrypted XML (with encryption being done on the transport level).

This change should be mostly backwards compatible because the TServer classes have constructors
that take a transport factory and use that for both the input and transport factories. The only
change might be for anyone who is using the C++ client code directly i.e. instantiating
TBinaryProtocol() directly because the constructor now only accepts one transport.

Reviewed By: Slee

Test Plan: Everything compiles (for both thrift and search).

Notes:
I am going to make the same changes in all the supported languages after this...


git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664940 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 22:53:54 +00:00
..
aclocal Added ax_event_base.m4 to find and configure libevent 2007-01-17 08:32:16 +00:00
src -- Change concept of protocol and transport factory 2007-01-24 22:53:54 +00:00
bootstrap.sh Converted concurrency classes to use boost::shared_ptr and boost::weak_ptr: 2006-08-03 18:58:09 +00:00
configure.ac Added ax_event_base.m4 to find and configure libevent 2007-01-17 08:32:16 +00:00
Makefile.am Added ax_event_base.m4 to find and configure libevent 2007-01-17 08:32:16 +00:00
Makefile.slee autoconf/automake/libtool-ized thrift cpp bits: 2006-07-21 19:53:48 +00:00