summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/ObjectCache.h
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2006-04-28 16:24:03 +0000
committerBenoit Foucher <benoit@zeroc.com>2006-04-28 16:24:03 +0000
commitbf3729b95ca9928b07babe4f1216883cdc37086b (patch)
tree1a8b2720f3200f4bf705d4d4c12dddcf064be6bf /cpp/src/IceGrid/ObjectCache.h
parentAdding warning comments about changing toString() behaviors that may break (diff)
downloadice-bf3729b95ca9928b07babe4f1216883cdc37086b.tar.bz2
ice-bf3729b95ca9928b07babe4f1216883cdc37086b.tar.xz
ice-bf3729b95ca9928b07babe4f1216883cdc37086b.zip
More allocation fixes, removed session based Query interface.
Diffstat (limited to 'cpp/src/IceGrid/ObjectCache.h')
-rw-r--r--cpp/src/IceGrid/ObjectCache.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/IceGrid/ObjectCache.h b/cpp/src/IceGrid/ObjectCache.h
index 14ad9b89d3c..d145b3e4740 100644
--- a/cpp/src/IceGrid/ObjectCache.h
+++ b/cpp/src/IceGrid/ObjectCache.h
@@ -33,7 +33,7 @@ public:
ObjectEntry(Cache<Ice::Identity, ObjectEntry>&, const Ice::Identity&);
void set(const AllocatablePtr&, const std::string&, const ObjectInfo&);
- Ice::ObjectPrx getProxy() const;
+ Ice::ObjectPrx getProxy(const SessionIPtr&) const;
std::string getType() const;
std::string getApplication() const;
const ObjectInfo& getObjectInfo() const;
@@ -63,9 +63,9 @@ public:
private:
- virtual void allocated(const AllocatablePtr& allocatable)
+ virtual void allocated(const AllocatablePtr& allocatable, const SessionIPtr& session)
{
- response(ObjectEntryPtr::dynamicCast(allocatable)->getProxy());
+ response(ObjectEntryPtr::dynamicCast(allocatable)->getObjectInfo().proxy);
}
virtual void canceled(const AllocationException& ex)