diff options
author | Matthew Newhook <matthew@zeroc.com> | 2005-08-09 06:57:43 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2005-08-09 06:57:43 +0000 |
commit | 3e347721b5881a3bc792eceba86346905c759db4 (patch) | |
tree | c8e7ecd5ab13581d8d68ef4c7bd304f5f5ad1946 /cppe/src/IceE/ObjectAdapter.cpp | |
parent | cleanup. CE demos now use config.txt (diff) | |
download | ice-3e347721b5881a3bc792eceba86346905c759db4.tar.bz2 ice-3e347721b5881a3bc792eceba86346905c759db4.tar.xz ice-3e347721b5881a3bc792eceba86346905c759db4.zip |
- IceE now supports datagram, batch datagram and secure modes.
- The modes are preserved by the proxy.
- stringified proxies can be both read/written which contain these modes.
- any attempt to call on a proxy which supports contains this an
unsupported mode will result in a NoEndpointException.
Diffstat (limited to 'cppe/src/IceE/ObjectAdapter.cpp')
-rw-r--r-- | cppe/src/IceE/ObjectAdapter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cppe/src/IceE/ObjectAdapter.cpp b/cppe/src/IceE/ObjectAdapter.cpp index f40f58b9be5..c9844c09c0e 100644 --- a/cppe/src/IceE/ObjectAdapter.cpp +++ b/cppe/src/IceE/ObjectAdapter.cpp @@ -704,11 +704,11 @@ Ice::ObjectAdapter::newProxy(const Identity& ident, const string& facet) const // Create a reference with the adapter id. // #ifdef ICEE_HAS_ROUTER - ReferencePtr ref = _instance->referenceFactory()->create(ident, Context(), facet,Reference::ModeTwoway, + ReferencePtr ref = _instance->referenceFactory()->create(ident, Context(), facet,Reference::ModeTwoway, false, _id, 0, _locatorInfo); #else - ReferencePtr ref = _instance->referenceFactory()->create(ident, Context(), facet, Reference::ModeTwoway, + ReferencePtr ref = _instance->referenceFactory()->create(ident, Context(), facet, Reference::ModeTwoway, false, _id, _locatorInfo); #endif @@ -752,10 +752,10 @@ 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, Context(), facet, Reference::ModeTwoway, + ReferencePtr ref = _instance->referenceFactory()->create(ident, Context(), facet, Reference::ModeTwoway, false, endpoints, 0); #else - ReferencePtr ref = _instance->referenceFactory()->create(ident, Context(), facet, Reference::ModeTwoway, + ReferencePtr ref = _instance->referenceFactory()->create(ident, Context(), facet, Reference::ModeTwoway, false, endpoints); #endif return _instance->proxyFactory()->referenceToProxy(ref); |