Direct-BT v3.3.0-1-gc2d430c
Direct-BT - Direct Bluetooth Programming.
|
Synchronization for URL header completion as used by asynchronous read_url_stream(). More...
#include <io_util.hpp>
Public Member Functions | |
url_header_sync () noexcept | |
bool | completed () const noexcept |
Returns whether URL header is completed. More... | |
void | notify_complete () noexcept |
Notify completion, see completed() More... | |
bool | wait_until_completion (const jau::fraction_i64 &timeout) noexcept |
Wait until completed() has been reached. More... | |
Synchronization for URL header completion as used by asynchronous read_url_stream().
Definition at line 177 of file io_util.hpp.
|
inlinenoexcept |
Definition at line 184 of file io_util.hpp.
|
inlinenoexcept |
Returns whether URL header is completed.
Completion is reached in any of the following cases
Definition at line 197 of file io_util.hpp.
|
noexcept |
Notify completion, see completed()
Definition at line 434 of file io_util.cpp.
|
noexcept |
Wait until completed() has been reached.
timeout | maximum duration in fractions of seconds to wait, where fractions_i64::zero waits infinitely |
Definition at line 442 of file io_util.cpp.