diff options
author | Bernard Normier <bernard@zeroc.com> | 2007-11-21 17:58:52 -0500 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2007-11-21 17:58:52 -0500 |
commit | 7826d8dd30b3bbbd3be4c65df8260164a9021798 (patch) | |
tree | 415bad61d47d08332f3ea6a377dc95b6dea467f9 /cpp/src/IceGrid/NodeI.cpp | |
parent | Added AMI call (diff) | |
download | ice-7826d8dd30b3bbbd3be4c65df8260164a9021798.tar.bz2 ice-7826d8dd30b3bbbd3be4c65df8260164a9021798.tar.xz ice-7826d8dd30b3bbbd3be4c65df8260164a9021798.zip |
Refactored server-properties access/retrieval from IceGrid admin client
Diffstat (limited to 'cpp/src/IceGrid/NodeI.cpp')
-rw-r--r-- | cpp/src/IceGrid/NodeI.cpp | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/cpp/src/IceGrid/NodeI.cpp b/cpp/src/IceGrid/NodeI.cpp index bad4237f63a..4b86ca96a3a 100644 --- a/cpp/src/IceGrid/NodeI.cpp +++ b/cpp/src/IceGrid/NodeI.cpp @@ -969,6 +969,21 @@ NodeI::removeServer(const ServerIPtr& server, const std::string& application, bo } } +Ice::Identity +NodeI::createServerIdentity(const string& name) const +{ + Ice::Identity id; + id.category = _instanceName + "-Server"; + id.name = name; + return id; +} + +string +NodeI::getServerAdminCategory() const +{ + return _instanceName + "-NodeRouter"; +} + vector<ServerCommandPtr> NodeI::checkConsistencyNoSync(const Ice::StringSeq& servers) { @@ -1221,14 +1236,7 @@ NodeI::getApplicationServers(const string& application) const return servers; } -Ice::Identity -NodeI::createServerIdentity(const string& name) const -{ - Ice::Identity id; - id.category = _instanceName + "-Server"; - id.name = name; - return id; -} + string NodeI::getFilePath(const string& filename) const |