Asynchronous read operation completion.
More...
#include <base/io/async/AsynchronousReadCompletion.h>
Inherits Object.
Asynchronous read operation completion.
This class describes the completion status of an asynchronous read operation.
- See also
- AsynchronousReadEventListener
- Version
- 1.0
◆ Flags
Enumerator |
---|
COMPLETED | Indicates whether or not the operation has been completed.
|
SUCCESSFUL | Indicates whether or not the operation was succesful.
|
ABORTED | Indicates when set that the operation was cancelled.
|
END_OF_FILE | Indicates when set that the end of file has been reached.
|
◆ AsynchronousReadCompletion() [1/2]
AsynchronousReadCompletion::AsynchronousReadCompletion |
( |
uint8 * |
_buffer, |
|
|
unsigned int |
_bytesToRead, |
|
|
unsigned long long |
_offset, |
|
|
unsigned int |
_bytesRead, |
|
|
unsigned int |
_flags |
|
) |
| |
|
inlinenoexcept |
Initialization of object.
◆ AsynchronousReadCompletion() [2/2]
Initialization of object from other object.
◆ operator=()
Assignment of object by object.
◆ buffer
uint8* AsynchronousReadCompletion::buffer = nullptr |
|
protected |
The buffer associated with the operation.
◆ bytesRead
unsigned int AsynchronousReadCompletion::bytesRead = 0 |
|
protected |
Specified the number of bytes read.
◆ bytesToRead
unsigned int AsynchronousReadCompletion::bytesToRead = 0 |
|
protected |
The desired number of bytes to be read.
◆ flags
unsigned int AsynchronousReadCompletion::flags = 0 |
|
protected |
◆ offset
unsigned long long AsynchronousReadCompletion::offset = 0 |
|
protected |