summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/OutgoingAsync.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-12-14 22:19:03 +0000
committerMarc Laukien <marc@zeroc.com>2002-12-14 22:19:03 +0000
commita41bb120db0ccdea5eea58e26bd30eddaff40877 (patch)
tree955f720fb895739a61764d56234ac4a9595a1441 /cpp/src/Ice/OutgoingAsync.cpp
parentsome fixes (diff)
downloadice-a41bb120db0ccdea5eea58e26bd30eddaff40877.tar.bz2
ice-a41bb120db0ccdea5eea58e26bd30eddaff40877.tar.xz
ice-a41bb120db0ccdea5eea58e26bd30eddaff40877.zip
complete shutdown/deactivate re-implementation
Diffstat (limited to 'cpp/src/Ice/OutgoingAsync.cpp')
-rw-r--r--cpp/src/Ice/OutgoingAsync.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/cpp/src/Ice/OutgoingAsync.cpp b/cpp/src/Ice/OutgoingAsync.cpp
index 2fad7d86c0a..28cc5f85b12 100644
--- a/cpp/src/Ice/OutgoingAsync.cpp
+++ b/cpp/src/Ice/OutgoingAsync.cpp
@@ -79,14 +79,14 @@ IceInternal::OutgoingAsync::__setup(const ConnectionPtr& connection, const Refer
void
IceInternal::OutgoingAsync::__invoke()
{
- _connection->incUsageCount();
+ _connection->incProxyCount();
try
{
_connection->sendAsyncRequest(this, _compress);
}
catch(...)
{
- _connection->decUsageCount();
+ _connection->decProxyCount();
throw;
}
}
@@ -190,23 +190,23 @@ IceInternal::OutgoingAsync::__finished(BasicStream& is)
catch(const Exception& ex)
{
warnException(ex);
- _connection->decUsageCount();
+ _connection->decProxyCount();
return;
}
catch(const std::exception& ex)
{
warnException(ex);
- _connection->decUsageCount();
+ _connection->decProxyCount();
return;
}
catch(...)
{
warnException();
- _connection->decUsageCount();
+ _connection->decProxyCount();
return;
}
- _connection->decUsageCount();
+ _connection->decProxyCount();
}
void
@@ -219,23 +219,23 @@ IceInternal::OutgoingAsync::__finished(const LocalException& ex)
catch(const Exception& ex)
{
warnException(ex);
- _connection->decUsageCount();
+ _connection->decProxyCount();
return;
}
catch(const std::exception& ex)
{
warnException(ex);
- _connection->decUsageCount();
+ _connection->decProxyCount();
return;
}
catch(...)
{
warnException(ex);
- _connection->decUsageCount();
+ _connection->decProxyCount();
return;
}
- _connection->decUsageCount();
+ _connection->decProxyCount();
}
BasicStream*