From fe95fb2662c99f5aa6763930be2dba9430aed6af Mon Sep 17 00:00:00 2001 From: Benoit Foucher Date: Wed, 2 May 2007 14:23:10 +0000 Subject: Added ice_getAdapterId/ice_adapterId. --- cppe/src/IceE/ObjectAdapter.cpp | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'cppe/src/IceE/ObjectAdapter.cpp') diff --git a/cppe/src/IceE/ObjectAdapter.cpp b/cppe/src/IceE/ObjectAdapter.cpp index 4934aa4eb99..5a46d3353cc 100644 --- a/cppe/src/IceE/ObjectAdapter.cpp +++ b/cppe/src/IceE/ObjectAdapter.cpp @@ -544,7 +544,8 @@ Ice::ObjectAdapter::createReverseProxy(const Identity& ident) const // reference. // vector endpoints; - ReferencePtr ref = _instance->referenceFactory()->create(ident, "", Reference::ModeTwoway, connections); + ReferencePtr ref = _instance->referenceFactory()->create(ident, Ice::Context(), "", Reference::ModeTwoway, + connections); return _instance->proxyFactory()->referenceToProxy(ref); } @@ -807,9 +808,11 @@ Ice::ObjectAdapter::newDirectProxy(const Identity& ident, const string& facet) c // Create a reference and return a proxy for this reference. // #ifdef ICEE_HAS_ROUTER - ReferencePtr ref = _instance->referenceFactory()->create(ident, facet, Reference::ModeTwoway, false, endpoints, 0); + ReferencePtr ref = _instance->referenceFactory()->create(ident, Ice::Context(), facet, Reference::ModeTwoway, + false, endpoints, 0); #else - ReferencePtr ref = _instance->referenceFactory()->create(ident, facet, Reference::ModeTwoway, false, endpoints); + ReferencePtr ref = _instance->referenceFactory()->create(ident, Ice::Context(), facet, Reference::ModeTwoway, + false, endpoints); #endif return _instance->proxyFactory()->referenceToProxy(ref); @@ -824,10 +827,12 @@ Ice::ObjectAdapter::newIndirectProxy(const Identity& ident, const string& facet, // #ifdef ICEE_HAS_ROUTER ReferencePtr ref = - _instance->referenceFactory()->create(ident, facet, Reference::ModeTwoway, false, id, 0, _locatorInfo); + _instance->referenceFactory()->create(ident, Ice::Context(), facet, Reference::ModeTwoway, false, id, 0, + _locatorInfo); #else ReferencePtr ref = - _instance->referenceFactory()->create(ident, facet, Reference::ModeTwoway, false, id, _locatorInfo); + _instance->referenceFactory()->create(ident, Ice::Context(), facet, Reference::ModeTwoway, false, id, + _locatorInfo); #endif // -- cgit v1.2.3