diff options
Diffstat (limited to 'cpp/src/IceDiscovery/LookupI.h')
-rw-r--r-- | cpp/src/IceDiscovery/LookupI.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/cpp/src/IceDiscovery/LookupI.h b/cpp/src/IceDiscovery/LookupI.h index 4a0f7a5c887..b97382d2c22 100644 --- a/cpp/src/IceDiscovery/LookupI.h +++ b/cpp/src/IceDiscovery/LookupI.h @@ -25,13 +25,13 @@ class Request : public IceUtil::TimerTask { public: - Request(LookupI*, int); + Request(const LookupIPtr&, int); virtual bool retry(); protected: - LookupI* _lookup; + LookupIPtr _lookup; int _nRetry; }; @@ -115,6 +115,9 @@ class LookupI : public Lookup, private IceUtil::Mutex public: LookupI(const LocatorRegistryIPtr&, const LookupPrx&, const Ice::PropertiesPtr&); + virtual ~LookupI(); + + void destroy(); void setLookupReply(const LookupReplyPrx&); @@ -146,8 +149,6 @@ public: private: - LookupReplyPrx getLookupReply(const LookupReplyPrx&, const Ice::Current&) const; - LocatorRegistryIPtr _registry; const LookupPrx _lookup; LookupReplyPrx _lookupReply; |