Thrift Python server code generation
authorMark Slee <mcslee@apache.org>
Tue, 5 Sep 2006 17:34:52 +0000 (17:34 +0000)
committerMark Slee <mcslee@apache.org>
Tue, 5 Sep 2006 17:34:52 +0000 (17:34 +0000)
commitc9676569adfba12a1378eec1c75c6036e7912d9e
treebcf8fcd69f5e45b601b3cfa7d4796b79e2f0989f
parent4ecbebc09989a5fccb40fcb2d3d0d1b9f540a7d4
Thrift Python server code generation

Summary: Yep, it's up and running. We now have full client/server support in all of C++ Java PHP and Python. Well, not quite... there's no PHP server, but honestly who wants one? Actually, if we do want one the framework will support writing is as a PHP file that can be served in apache like a web service (i.e. restserver.php would be thriftserver.php). But now that's rambling and nothing to do with this commit.

Notes: cheever, let's chat about porting your multithreaded Pillar Python server over to Thrift

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664783 13f79535-47bb-0310-9956-ffa450edef68
12 files changed:
compiler/cpp/src/generate/t_java_generator.cc
compiler/cpp/src/generate/t_py_generator.cc
compiler/cpp/src/generate/t_py_generator.h
lib/py/setup.py
lib/py/src/Thrift.py
lib/py/src/protocol/TBinaryProtocol.py
lib/py/src/server/TServer.py [new file with mode: 0644]
lib/py/src/server/__init__.py [new file with mode: 0644]
lib/py/src/transport/TSocket.py
lib/py/src/transport/TTransport.py
test/py/TestClient.py
test/py/TestServer.py [new file with mode: 0755]