diff options
Diffstat (limited to 'cpp/src/IceGrid/InternalRegistryI.h')
-rw-r--r-- | cpp/src/IceGrid/InternalRegistryI.h | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/cpp/src/IceGrid/InternalRegistryI.h b/cpp/src/IceGrid/InternalRegistryI.h index 321a7182f7b..a1082eed0a8 100644 --- a/cpp/src/IceGrid/InternalRegistryI.h +++ b/cpp/src/IceGrid/InternalRegistryI.h @@ -19,31 +19,42 @@ namespace IceGrid class Database; typedef IceUtil::Handle<Database> DatabasePtr; +class WellKnownObjectsManager; +typedef IceUtil::Handle<WellKnownObjectsManager> WellKnownObjectsManagerPtr; + class ReapThread; typedef IceUtil::Handle<ReapThread> ReapThreadPtr; +class RegistryI; +typedef IceUtil::Handle<RegistryI> RegistryIPtr; + class ReplicaSessionManager; class InternalRegistryI : public InternalRegistry { public: - InternalRegistryI(const DatabasePtr&, const ReapThreadPtr&, ReplicaSessionManager&); + InternalRegistryI(const RegistryIPtr&, const DatabasePtr&, const ReapThreadPtr&, + const WellKnownObjectsManagerPtr&, ReplicaSessionManager&); virtual ~InternalRegistryI(); virtual NodeSessionPrx registerNode(const std::string&, const NodePrx&, const NodeInfo&, const Ice::Current&); - virtual ReplicaSessionPrx registerReplica(const std::string&, const InternalRegistryPrx&, - const RegistryObserverPrx&, const Ice::Current&); + virtual ReplicaSessionPrx registerReplica(const std::string&, const RegistryInfo&, const InternalRegistryPrx&, + const DatabaseObserverPrx&, const Ice::Current&); virtual void registerWithReplica(const InternalRegistryPrx&, const Ice::Current&); virtual NodePrxSeq getNodes(const Ice::Current&) const; virtual InternalRegistryPrxSeq getReplicas(const Ice::Current&) const; + virtual void shutdown(const Ice::Current&) const; + private: + const RegistryIPtr _registry; const DatabasePtr _database; const ReapThreadPtr _reaper; + const WellKnownObjectsManagerPtr _wellKnownObjects; ReplicaSessionManager& _session; const int _timeout; }; |