Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ flushBatchRequestsAsync() [2/2]

std::function< void()> Ice::Communicator::flushBatchRequestsAsync ( CompressBatch compress,
std::function< void(std::exception_ptr)> exception,
std::function< void(bool)> sent = nullptr )

Flushes any pending batch requests of this communicator.

This means all batch requests invoked on fixed proxies for all connections associated with the communicator. Errors that occur while flushing a connection are ignored.

Parameters
compressSpecifies whether or not the queued batch requests should be compressed before being sent over the wire.
exceptionThe exception callback.
sentThe sent callback.
Returns
A function that can be called to cancel the flush.