You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by ns...@apache.org on 2016/01/18 19:40:51 UTC
[6/8] thrift git commit: THRIFT-3562: C++: removed unused
TEventServer Client: C++ Patch: Sebastian Zenker
THRIFT-3562: C++: removed unused TEventServer
Client: C++
Patch: Sebastian Zenker
This closes #800
Project: http://git-wip-us.apache.org/repos/asf/thrift/repo
Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/9be7569a
Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/9be7569a
Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/9be7569a
Branch: refs/heads/master
Commit: 9be7569ab473962648a9baf184248896022ffc92
Parents: 235d49f
Author: Sebastian Zenker <se...@gmx.de>
Authored: Mon Jan 18 08:50:02 2016 +0100
Committer: Nobuaki Sukegawa <ns...@apache.org>
Committed: Tue Jan 19 02:48:07 2016 +0900
----------------------------------------------------------------------
lib/cpp/src/thrift/async/TAsyncProcessor.h | 9 ---------
1 file changed, 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/thrift/blob/9be7569a/lib/cpp/src/thrift/async/TAsyncProcessor.h
----------------------------------------------------------------------
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 @@ 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 {