diff options
author | Marc Laukien <marc@zeroc.com> | 2004-09-13 18:19:41 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2004-09-13 18:19:41 +0000 |
commit | e012bfcd0c32c6fd185890aedb5f17e69da8870e (patch) | |
tree | 28dd15cd1a91ee0a244078487ed0d7b799364504 /cpp/src/Glacier2/ServerBlobject.cpp | |
parent | adding AMI tests (diff) | |
download | ice-e012bfcd0c32c6fd185890aedb5f17e69da8870e.tar.bz2 ice-e012bfcd0c32c6fd185890aedb5f17e69da8870e.tar.xz ice-e012bfcd0c32c6fd185890aedb5f17e69da8870e.zip |
Connection.ice
Diffstat (limited to 'cpp/src/Glacier2/ServerBlobject.cpp')
-rw-r--r-- | cpp/src/Glacier2/ServerBlobject.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/cpp/src/Glacier2/ServerBlobject.cpp b/cpp/src/Glacier2/ServerBlobject.cpp index 5545971151c..80642870bc6 100644 --- a/cpp/src/Glacier2/ServerBlobject.cpp +++ b/cpp/src/Glacier2/ServerBlobject.cpp @@ -14,22 +14,22 @@ using namespace std; using namespace Ice; using namespace Glacier2; -Glacier2::ServerBlobject::ServerBlobject(const CommunicatorPtr& communicator, const TransportInfoPtr& transport) : +Glacier2::ServerBlobject::ServerBlobject(const CommunicatorPtr& communicator, const ConnectionPtr& connection) : Glacier2::Blobject(communicator, true), - _transport(transport) + _connection(connection) { } Glacier2::ServerBlobject::~ServerBlobject() { - assert(!_transport); + assert(!_connection); } void Glacier2::ServerBlobject::destroy() { - assert(_transport); // Destroyed? - _transport = 0; + assert(_connection); // Destroyed? + _connection = 0; Blobject::destroy(); } @@ -37,9 +37,9 @@ void Glacier2::ServerBlobject::ice_invoke_async(const Ice::AMD_Object_ice_invokePtr& amdCB, const vector<Byte>& inParams, const Current& current) { - assert(_transport); // Destroyed? + assert(_connection); // Destroyed? - ObjectPrx proxy = _transport->createProxy(current.id); + ObjectPrx proxy = _connection->createProxy(current.id); assert(proxy); invoke(proxy, amdCB, inParams, current); |