THRIFT-3562: C++: removed unused TEventServer
Client: C++
Patch: Sebastian Zenker
This closes #800
diff --git a/lib/cpp/src/thrift/async/TAsyncProcessor.h b/lib/cpp/src/thrift/async/TAsyncProcessor.h
index 033f7d9..ee305a2 100644
--- a/lib/cpp/src/thrift/async/TAsyncProcessor.h
+++ b/lib/cpp/src/thrift/async/TAsyncProcessor.h
@@ -34,8 +34,6 @@
* 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 @@
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 {