diff options
author | Benoit Foucher <benoit@zeroc.com> | 2007-03-28 09:38:51 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2007-03-28 09:38:51 +0000 |
commit | 45ab062a7d0482fbb486d3827424bf46464523e0 (patch) | |
tree | 5fb265dafa82721ede40c16232f10730039461bd /cppe/src | |
parent | Don't parse identity only proxies if not built with locator support (diff) | |
download | ice-45ab062a7d0482fbb486d3827424bf46464523e0.tar.bz2 ice-45ab062a7d0482fbb486d3827424bf46464523e0.tar.xz ice-45ab062a7d0482fbb486d3827424bf46464523e0.zip |
Inlined trivial methods
Diffstat (limited to 'cppe/src')
-rw-r--r-- | cppe/src/IceE/Proxy.cpp | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/cppe/src/IceE/Proxy.cpp b/cppe/src/IceE/Proxy.cpp index b75796e849a..096f633849c 100644 --- a/cppe/src/IceE/Proxy.cpp +++ b/cppe/src/IceE/Proxy.cpp @@ -138,24 +138,12 @@ IceProxy::Ice::Object::operator<(const Object& r) const } Int -IceProxy::Ice::Object::ice_hash() const -{ - return ice_getHash(); -} - -Int IceProxy::Ice::Object::ice_getHash() const { return _reference->hash(); } CommunicatorPtr -IceProxy::Ice::Object::ice_communicator() const -{ - return ice_getCommunicator(); -} - -CommunicatorPtr IceProxy::Ice::Object::ice_getCommunicator() const { return _reference->getCommunicator(); @@ -451,12 +439,6 @@ IceProxy::Ice::Object::ice_context(const Context& newContext) const } ObjectPrx -IceProxy::Ice::Object::ice_newContext(const Context& newContext) const -{ - return ice_context(newContext); -} - -ObjectPrx IceProxy::Ice::Object::ice_defaultContext() const { ObjectPrx proxy(new ::IceProxy::Ice::Object()); @@ -489,12 +471,6 @@ IceProxy::Ice::Object::ice_identity(const Identity& newIdentity) const } } -ObjectPrx -IceProxy::Ice::Object::ice_newIdentity(const Identity& newIdentity) const -{ - return ice_identity(newIdentity); -} - const string& IceProxy::Ice::Object::ice_getFacet() const { @@ -516,12 +492,6 @@ IceProxy::Ice::Object::ice_facet(const string& newFacet) const } } -ObjectPrx -IceProxy::Ice::Object::ice_newFacet(const string& newFacet) const -{ - return ice_facet(newFacet); -} - #ifdef ICEE_HAS_ROUTER RouterPrx @@ -658,12 +628,6 @@ IceProxy::Ice::Object::ice_timeout(int t) const } ConnectionPtr -IceProxy::Ice::Object::ice_connection() -{ - return ice_getConnection(); -} - -ConnectionPtr IceProxy::Ice::Object::ice_getConnection() { ::IceUtil::Mutex::Lock sync(*this); @@ -695,12 +659,6 @@ IceProxy::Ice::Object::ice_getCachedConnection() const return _connection; } -ReferencePtr -IceProxy::Ice::Object::__reference() const -{ - return _reference; -} - void IceProxy::Ice::Object::__copyFrom(const ObjectPrx& from) { @@ -812,20 +770,6 @@ IceProxy::Ice::Object::__defaultContext() const return _reference->getContext()->getValue(); } -void -IceProxy::Ice::Object::setup(const ReferencePtr& ref) -{ - // - // No need to synchronize "*this", as this operation is only - // called upon initialization. - // - - assert(!_reference); - assert(!_connection); - - _reference = ref; -} - bool Ice::proxyIdentityLess(const ObjectPrx& lhs, const ObjectPrx& rhs) { |