summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/Database.h
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2006-09-22 14:30:53 +0000
committerBenoit Foucher <benoit@zeroc.com>2006-09-22 14:30:53 +0000
commit059ea645ef16d220ff93cc2f6fd2316974d86a3b (patch)
treeb724aa212cbb5e102645b6abbb10f1ce08b430f3 /cpp/src/IceGrid/Database.h
parentfix version retrieval to sync with change to config/Make.rules (diff)
downloadice-059ea645ef16d220ff93cc2f6fd2316974d86a3b.tar.bz2
ice-059ea645ef16d220ff93cc2f6fd2316974d86a3b.tar.xz
ice-059ea645ef16d220ff93cc2f6fd2316974d86a3b.zip
Node proxies are now stored in a separate non-replicated map.
Diffstat (limited to 'cpp/src/IceGrid/Database.h')
-rw-r--r--cpp/src/IceGrid/Database.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/Database.h b/cpp/src/IceGrid/Database.h
index af6fbd0a268..aa97addfd94 100644
--- a/cpp/src/IceGrid/Database.h
+++ b/cpp/src/IceGrid/Database.h
@@ -130,6 +130,10 @@ public:
ObjectInfoSeq getObjectInfosByType(const std::string&);
ObjectInfoSeq getAllObjectInfos(const std::string& = std::string());
+ void addInternalObject(const ObjectInfo&, bool = false);
+ void removeInternalObject(const Ice::Identity&);
+ Ice::ObjectProxySeq getInternalObjectsByType(const std::string&);
+
private:
void checkForAddition(const ApplicationHelper&);
@@ -154,6 +158,7 @@ private:
static const std::string _applicationDbName;
static const std::string _objectDbName;
+ static const std::string _internalObjectDbName;
static const std::string _adapterDbName;
static const std::string _replicaGroupDbName;
@@ -180,8 +185,9 @@ private:
Freeze::ConnectionPtr _connection;
StringApplicationInfoDict _applications;
- IdentityObjectInfoDict _objects;
StringAdapterInfoDict _adapters;
+ IdentityObjectInfoDict _objects;
+ IdentityObjectInfoDict _internalObjects;
AdminSessionI* _lock;
std::string _lockUserId;