// // Copyright (c) ZeroC, Inc. All rights reserved. // #ifndef ICE_GRID_LOCATOR_REGISTRY_I_H #define ICE_GRID_LOCATOR_REGISTRY_I_H #include #include namespace IceGrid { class Database; class ReplicaSessionManager; class TraceLevels; class LocatorRegistryI final : public Ice::LocatorRegistry, public std::enable_shared_from_this { public: LocatorRegistryI(const std::shared_ptr&, bool, bool, ReplicaSessionManager&); void setAdapterDirectProxyAsync(std::string, std::shared_ptr, std::function, std::function, const Ice::Current&) override; void setReplicatedAdapterDirectProxyAsync(std::string, std::string, std::shared_ptr, std::function, std::function, const Ice::Current&) override; void setServerProcessProxyAsync(std::string, std::shared_ptr, std::function, std::function, const Ice::Current&) override; void setAdapterDirectProxy(std::string, std::string, std::shared_ptr, std::function, std::function); const std::shared_ptr& getTraceLevels() const; private: const std::shared_ptr _database; const bool _dynamicRegistration; const bool _master; ReplicaSessionManager& _session; }; } #endif