diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2007-04-26 15:57:47 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2007-04-26 15:57:47 +0000 |
commit | c75114dc63456ca789af2922f1f87356f8c89544 (patch) | |
tree | 417ea67e43316186cd80a334a665e6e997c3c0f6 /cppe/src/IceE/Instance.cpp | |
parent | Removed LocalObject (diff) | |
download | ice-c75114dc63456ca789af2922f1f87356f8c89544.tar.bz2 ice-c75114dc63456ca789af2922f1f87356f8c89544.tar.xz ice-c75114dc63456ca789af2922f1f87356f8c89544.zip |
Removed default context support
Diffstat (limited to 'cppe/src/IceE/Instance.cpp')
-rw-r--r-- | cppe/src/IceE/Instance.cpp | 32 |
1 files changed, 2 insertions, 30 deletions
diff --git a/cppe/src/IceE/Instance.cpp b/cppe/src/IceE/Instance.cpp index ad9062ec575..0a574d9dd57 100644 --- a/cppe/src/IceE/Instance.cpp +++ b/cppe/src/IceE/Instance.cpp @@ -221,33 +221,6 @@ IceInternal::Instance::flushBatchRequests() } #endif -void -IceInternal::Instance::setDefaultContext(const Context& ctx) -{ - IceUtil::RecMutex::Lock sync(*this); - - if(_state == StateDestroyed) - { - throw CommunicatorDestroyedException(__FILE__, __LINE__); - } - - _defaultContext = new SharedContext(ctx); -} - -SharedContextPtr -IceInternal::Instance::getDefaultContext() const -{ - IceUtil::RecMutex::Lock sync(*this); - - if(_state == StateDestroyed) - { - throw CommunicatorDestroyedException(__FILE__, __LINE__); - } - - return _defaultContext; -} - - Identity IceInternal::Instance::stringToIdentity(const string& s) const { @@ -325,11 +298,10 @@ IceInternal::Instance::identityToString(const Identity& ident) const IceInternal::Instance::Instance(const CommunicatorPtr& communicator, const InitializationData& initData) : _state(StateActive), _initData(initData), - _messageSizeMax(0), + _messageSizeMax(0) #ifndef ICEE_PURE_BLOCKING_CLIENT - _threadPerConnectionStackSize(0), + , _threadPerConnectionStackSize(0) #endif - _defaultContext(new SharedContext(initData.defaultContext)) { try { |