AioWriterInterface Class Reference

#include <network_ioservice.h>

Inheritance diagram for AioWriterInterface:

详细描述

A writer that can receive asynchronous write notifications from an AioService.

公共成员函数

MAXON_METHOD Result < void >  NotifyForWrite ( SocketT sockfd, Result < void > result)

私有成员函数

  MAXON_INTERFACE ( AioWriterInterface , MAXON_REFERENCE_NORMAL , "net.maxon.interface.aiowriter")

成员函数文档编制

◆  MAXON_INTERFACE()

MAXON_INTERFACE ( AioWriterInterface   ,
MAXON_REFERENCE_NORMAL   ,
"net.maxon.interface.aiowriter"   
)
private

◆  NotifyForWrite()

MAXON_METHOD Result <void> NotifyForWrite ( SocketT   sockfd ,
Result < void >  result  
)

Event callback to signal when a non-blocking write operation is (likely) possible. This function is never called concurrently.

参数
[in] sockfd The socket handle ready for writing.
[in] result An error if an operation registered by this reader failed.
返回
An error if handling the event failed.