summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/RegistryI.h
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2014-09-10 19:09:53 +0000
committerBernard Normier <bernard@zeroc.com>2014-09-10 19:09:53 +0000
commitac587d9f1a6d34e46956fd17c81f99beb7ed97ad (patch)
treefa09b2b2d5b6037c76976ee293eb0d15b7a93717 /cpp/src/IceGrid/RegistryI.h
parentFix networkProxy test dependencies (diff)
downloadice-ac587d9f1a6d34e46956fd17c81f99beb7ed97ad.tar.bz2
ice-ac587d9f1a6d34e46956fd17c81f99beb7ed97ad.tar.xz
ice-ac587d9f1a6d34e46956fd17c81f99beb7ed97ad.zip
IceGrid::Admin now provides remote access to IceGrid registry and node Admin objects, and icegridadmin uses these
new operations to show the Ice log file for IceGrid registries and IceGrid nodes (ICE-2400)
Diffstat (limited to 'cpp/src/IceGrid/RegistryI.h')
-rw-r--r--cpp/src/IceGrid/RegistryI.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/cpp/src/IceGrid/RegistryI.h b/cpp/src/IceGrid/RegistryI.h
index 704ed0dd9f9..76a59b0cb06 100644
--- a/cpp/src/IceGrid/RegistryI.h
+++ b/cpp/src/IceGrid/RegistryI.h
@@ -51,7 +51,7 @@ class RegistryI : public Registry
{
public:
- RegistryI(const Ice::CommunicatorPtr&, const TraceLevelsPtr&, bool, bool, const std::string&);
+ RegistryI(const Ice::CommunicatorPtr&, const TraceLevelsPtr&, bool, bool, const std::string&, const std::string&);
~RegistryI();
bool start();
@@ -73,7 +73,9 @@ public:
void waitForShutdown();
virtual void shutdown();
- std::string getServerAdminCategory() const { return _instanceName + "-RegistryRouter"; }
+ std::string getServerAdminCategory() const { return _instanceName + "-RegistryServerAdminRouter"; }
+ std::string getNodeAdminCategory() const { return _instanceName + "-RegistryNodeAdminRouter"; }
+ std::string getReplicaAdminCategory() const { return _instanceName + "-RegistryReplicaAdminRouter"; }
Ice::ObjectPrx createAdminCallbackProxy(const Ice::Identity&) const;
@@ -90,7 +92,8 @@ private:
InternalRegistryPrx setupInternalRegistry();
bool setupUserAccountMapper();
Ice::ObjectAdapterPtr setupClientSessionFactory(const LocatorPrx&);
- Ice::ObjectAdapterPtr setupAdminSessionFactory(const Ice::ObjectPtr&, const LocatorPrx&);
+ Ice::ObjectAdapterPtr setupAdminSessionFactory(const Ice::ObjectPtr&, const Ice::ObjectPtr&,
+ const Ice::ObjectPtr&, const LocatorPrx&);
Glacier2::PermissionsVerifierPrx getPermissionsVerifier(const LocatorPrx&, const std::string&);
Glacier2::SSLPermissionsVerifierPrx getSSLPermissionsVerifier(const LocatorPrx&, const std::string&);
@@ -104,6 +107,7 @@ private:
const bool _nowarn;
const bool _readonly;
const std::string _initFromReplica;
+ const std::string _collocatedNodeName;
DatabasePtr _database;
Ice::ObjectAdapterPtr _clientAdapter;