summaryrefslogtreecommitdiff
path: root/lib/cpp
diff options
context:
space:
mode:
authorSebastian Zenker <sebastian.zenker@gmx.de>2016-01-18 08:50:02 +0100
committerNobuaki Sukegawa <nsuke@apache.org>2016-01-19 02:48:07 +0900
commit9be7569ab473962648a9baf184248896022ffc92 (patch)
tree8ddd2162cf57ca893876dbd867b7154c8794396a /lib/cpp
parent235d49f45bfdaab32e575c99cf0225e91a10cfa8 (diff)
downloadthrift-9be7569ab473962648a9baf184248896022ffc92.tar.gz
THRIFT-3562: C++: removed unused TEventServer
Client: C++ Patch: Sebastian Zenker This closes #800
Diffstat (limited to 'lib/cpp')
-rw-r--r--lib/cpp/src/thrift/async/TAsyncProcessor.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/cpp/src/thrift/async/TAsyncProcessor.h b/lib/cpp/src/thrift/async/TAsyncProcessor.h
index 033f7d97a..ee305a2ff 100644
--- a/lib/cpp/src/thrift/async/TAsyncProcessor.h
+++ b/lib/cpp/src/thrift/async/TAsyncProcessor.h
@@ -34,8 +34,6 @@ namespace async {
* the call to process returns. Instead, it calls a cob to signal completion.
*/
-class TEventServer; // forward declaration
-
class TAsyncProcessor {
public:
virtual ~TAsyncProcessor() {}
@@ -55,17 +53,10 @@ public:
eventHandler_ = eventHandler;
}
- const TEventServer* getAsyncServer() { return asyncServer_; }
-
protected:
TAsyncProcessor() {}
boost::shared_ptr<TProcessorEventHandler> eventHandler_;
- const TEventServer* asyncServer_;
-
-private:
- friend class TEventServer;
- void setAsyncServer(const TEventServer* server) { asyncServer_ = server; }
};
class TAsyncProcessorFactory {