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

◆ flushBatchRequestsAsync() [2/2]

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

Flushes any pending batch requests for this connection.

This corresponds to all batch requests invoked on fixed proxies associated with the connection.

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 invocation locally.