diff options
Diffstat (limited to 'cpp/demo/IceBox/hello/Client.cpp')
-rw-r--r-- | cpp/demo/IceBox/hello/Client.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/cpp/demo/IceBox/hello/Client.cpp b/cpp/demo/IceBox/hello/Client.cpp index 95867585949..365267b0799 100644 --- a/cpp/demo/IceBox/hello/Client.cpp +++ b/cpp/demo/IceBox/hello/Client.cpp @@ -106,11 +106,7 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator) } else if(c == 'f') { - batchOneway->ice_flush(); - if(!secure) - { - batchDatagram->ice_flush(); - } + communicator->flushBatchRequests(); } else if(c == 'T') { |