diff options
author | Marc Laukien <marc@zeroc.com> | 2004-09-30 17:21:47 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2004-09-30 17:21:47 +0000 |
commit | 338f12d50adc609ddff7641af1d84be3cba282b7 (patch) | |
tree | 06ffe08c28ab4da3cd710a7165e1ba7356823f9d /cpp/src/Glacier2/Blobject.cpp | |
parent | Added tests for collection of leaf nodes. (diff) | |
download | ice-338f12d50adc609ddff7641af1d84be3cba282b7.tar.bz2 ice-338f12d50adc609ddff7641af1d84be3cba282b7.tar.xz ice-338f12d50adc609ddff7641af1d84be3cba282b7.zip |
more glacier2
Diffstat (limited to 'cpp/src/Glacier2/Blobject.cpp')
-rw-r--r-- | cpp/src/Glacier2/Blobject.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/src/Glacier2/Blobject.cpp b/cpp/src/Glacier2/Blobject.cpp index 334ecd3164a..57bf70e55dd 100644 --- a/cpp/src/Glacier2/Blobject.cpp +++ b/cpp/src/Glacier2/Blobject.cpp @@ -17,10 +17,11 @@ static const string serverAlwaysBatch = "Glacier2.Server.AlwaysBatch"; static const string clientAlwaysBatch = "Glacier2.Client.AlwaysBatch"; Glacier2::Blobject::Blobject(const CommunicatorPtr& communicator, bool reverse) : + _properties(communicator->getProperties()), _logger(communicator->getLogger()), _alwaysBatch(reverse ? - communicator->getProperties()->getPropertyAsInt(serverAlwaysBatch) > 0 : - communicator->getProperties()->getPropertyAsInt(clientAlwaysBatch) > 0) + _properties->getPropertyAsInt(serverAlwaysBatch) > 0 : + _properties->getPropertyAsInt(clientAlwaysBatch) > 0) { _requestQueue = new RequestQueue(communicator, reverse); _requestQueue->start(); |