LLFIO
v2.00
|
Called by an i/o operation state to inform you of state change. Note that the i/o operation state lock is HELD during these calls! More...
#include "byte_io_multiplexer.hpp"
Public Types | |
using | lock_guard = io_operation_state::lock_guard |
Public Member Functions | |
virtual void | read_initiated (lock_guard &, io_operation_state_type) |
Called when an i/o has been initiated, and is now being processed asynchronously. | |
virtual bool | read_completed (lock_guard &, io_operation_state_type, io_result< buffers_type > &&) |
Called when an i/o has completed, and its result is available. Return true if you consume the result. | |
virtual void | read_finished (lock_guard &, io_operation_state_type) |
Called when an i/o has finished, and its state can now be destroyed. | |
virtual void | write_initiated (lock_guard &, io_operation_state_type) |
Called when an i/o has been initiated, and is now being processed asynchronously. | |
virtual bool | write_completed (lock_guard &, io_operation_state_type, io_result< const_buffers_type > &&) |
Called when an i/o has completed, and its result is available. Return true if you consume the result. | |
virtual void | barrier_initiated (lock_guard &, io_operation_state_type) |
Called when an i/o has been initiated, and is now being processed asynchronously. | |
virtual bool | barrier_completed (lock_guard &, io_operation_state_type, io_result< const_buffers_type > &&) |
Called when an i/o has completed, and its result is available. Return true if you consume the result. | |
virtual void | write_or_barrier_finished (lock_guard &, io_operation_state_type) |
Called when an i/o has finished, and its state can now be destroyed. | |
Called by an i/o operation state to inform you of state change. Note that the i/o operation state lock is HELD during these calls!