summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/ServerCache.h
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2006-06-09 09:56:37 +0000
committerBenoit Foucher <benoit@zeroc.com>2006-06-09 09:56:37 +0000
commita6d51aa0ea13510e4eca6b9646be5ae1d917aa3f (patch)
tree4bc2e711e1fc32ecb7943fb3c7c6d94226c47507 /cpp/src/IceGrid/ServerCache.h
parentproperties updates (diff)
downloadice-a6d51aa0ea13510e4eca6b9646be5ae1d917aa3f.tar.bz2
ice-a6d51aa0ea13510e4eca6b9646be5ae1d917aa3f.tar.xz
ice-a6d51aa0ea13510e4eca6b9646be5ae1d917aa3f.zip
Added support for allocatable objects.
Diffstat (limited to 'cpp/src/IceGrid/ServerCache.h')
-rw-r--r--cpp/src/IceGrid/ServerCache.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/cpp/src/IceGrid/ServerCache.h b/cpp/src/IceGrid/ServerCache.h
index 47837584468..48a3515b084 100644
--- a/cpp/src/IceGrid/ServerCache.h
+++ b/cpp/src/IceGrid/ServerCache.h
@@ -14,15 +14,17 @@
#include <IceUtil/Shared.h>
#include <IceGrid/Descriptor.h>
#include <IceGrid/Internal.h>
+#include <IceGrid/Query.h>
#include <IceGrid/Allocatable.h>
#include <IceGrid/Cache.h>
-#include <IceGrid/AdapterCache.h>
namespace IceGrid
{
class ServerCache;
class ObjectCache;
+class AdapterCache;
+class AllocatableObjectCache;
class NodeCache;
class NodeEntry;
@@ -86,7 +88,7 @@ class ServerCache : public CacheByString<ServerEntry>
{
public:
- ServerCache(const Ice::CommunicatorPtr&, NodeCache&, AdapterCache&, ObjectCache&);
+ ServerCache(const Ice::CommunicatorPtr&, NodeCache&, AdapterCache&, ObjectCache&, AllocatableObjectCache&);
ServerEntryPtr add(const ServerInfo&);
ServerEntryPtr get(const std::string&) const;
@@ -110,6 +112,7 @@ private:
NodeCache& _nodeCache;
AdapterCache& _adapterCache;
ObjectCache& _objectCache;
+ AllocatableObjectCache& _allocatableObjectCache;
};
};