THRIFT-928. cpp: Processor-level event callbacks
authorDavid Reiss <dreiss@apache.org>
Wed, 6 Oct 2010 17:09:33 +0000 (17:09 +0000)
committerDavid Reiss <dreiss@apache.org>
Wed, 6 Oct 2010 17:09:33 +0000 (17:09 +0000)
commitd7192063e141c8374c2256e9fea9b7571e5fc71e
tree8da8cd317b1394f2ced4bbe5da7f07addb784a43
parent8c535ab87c3eaa35f1c94ca9dd1aeb5930425c3b
THRIFT-928. cpp: Processor-level event callbacks

- Add a TProcessorEventHandler callback interface.
- Add methods to TProcessor to hold an instance of the interface.
- Add code to the compiler to make the processor call callbacks at key points.
- Add an optional processor event handler to the test server.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@1005126 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/generate/t_cpp_generator.cc
lib/cpp/src/TProcessor.h
test/cpp/src/TestServer.cpp