#include <network_ioservice.h>
A reader that can receive asynchronous read notifications from an AioService.
公共成员函数 |
|
MAXON_METHOD Result < void > | NotifyForRead ( SocketT sockfd, Result < void > result) |
私有成员函数 |
|
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. |