mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-08 11:13:55 +00:00
9abb0d69b7
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 |
||
---|---|---|
.. | ||
aclocal | ||
src | ||
bootstrap.sh | ||
configure.ac | ||
Makefile.am | ||
Makefile.slee |