#include <network_ioservice.h>
A reader that can receive asynchronous read notifications from an AioService.
Public Member Functions | |
MAXON_METHOD Result< void > | NotifyForRead (SocketT sockfd, Result< void > result) |
Private Member Functions | |
MAXON_INTERFACE (AioReaderInterface, MAXON_REFERENCE_NORMAL, "net.maxon.interface.aioreader") | |
|
private |
MAXON_METHOD Result<void> NotifyForRead | ( | SocketT | sockfd, |
Result< void > | result | ||
) |
Event callback to signal when a non-blocking read operation is (likely) possible. This function is never called concurrently.
[in] | sockfd | The socket handle ready for reading. |
[in] | result | An error if an operation registered by this reader failed. |