join 1.0
lightweight network framework library
Loading...
Searching...
No Matches
join::BasicAsyncWrite< Protocol, ProactorType > Struct Template Reference

asynchronous write operation. More...

#include <async_operation.hpp>

Collaboration diagram for join::BasicAsyncWrite< Protocol, ProactorType >:

Public Types

using Connect = Function<void (const std::error_code&), 16>
 handler invoked on connection completion.
 
using Write = Function<void (const std::error_code&, size_t), 16>
 handler invoked on completion.
 

Public Attributes

IoOperation op = {}
 operation submitted to the proactor.
 
Connect connectHandler
 handler invoked on connection completion.
 
Write writeHandler
 handler invoked on completion.
 
msghdr msg = {}
 write message header.
 
iovec iov = {}
 write scatter gather entry.
 

Detailed Description

template<class Protocol, class ProactorType>
struct join::BasicAsyncWrite< Protocol, ProactorType >

asynchronous write operation.

Member Typedef Documentation

◆ Connect

template<class Protocol , class ProactorType >
using join::BasicAsyncWrite< Protocol, ProactorType >::Connect = Function<void (const std::error_code&), 16>

handler invoked on connection completion.

◆ Write

template<class Protocol , class ProactorType >
using join::BasicAsyncWrite< Protocol, ProactorType >::Write = Function<void (const std::error_code&, size_t), 16>

handler invoked on completion.

Member Data Documentation

◆ connectHandler

template<class Protocol , class ProactorType >
Connect join::BasicAsyncWrite< Protocol, ProactorType >::connectHandler

handler invoked on connection completion.

◆ iov

template<class Protocol , class ProactorType >
iovec join::BasicAsyncWrite< Protocol, ProactorType >::iov = {}

write scatter gather entry.

◆ msg

template<class Protocol , class ProactorType >
msghdr join::BasicAsyncWrite< Protocol, ProactorType >::msg = {}

write message header.

◆ op

template<class Protocol , class ProactorType >
IoOperation join::BasicAsyncWrite< Protocol, ProactorType >::op = {}

operation submitted to the proactor.

◆ writeHandler

template<class Protocol , class ProactorType >
Write join::BasicAsyncWrite< Protocol, ProactorType >::writeHandler

handler invoked on completion.


The documentation for this struct was generated from the following file: