Orbit Framework 2.0.0
A high-performance asynchronous C++20 HTTP server framework.
Loading...
Searching...
No Matches
orbit::network::EpollProactor::Context Struct Reference

Public Attributes

int fd {-1}
 
bool tracked {false}
 
bool reading {false}
 
void * read_buf {nullptr}
 
size_t read_size {0}
 
std::function< void(ssize_t)> read_cb
 
bool writing {false}
 
const void * write_buf {nullptr}
 
size_t write_size {0}
 
std::function< void(ssize_t)> write_cb
 
bool waiting_read {false}
 
std::function< void()> wait_read_cb
 
bool waiting_write {false}
 
std::function< void()> wait_write_cb
 
bool sendfile_in_progress {false}
 
int sendfile_in_fd {-1}
 
off_t sendfile_offset {0}
 
size_t sendfile_count {0}
 
std::function< void(ssize_t)> sendfile_cb
 
bool accepting {false}
 
std::function< void(socket_t, sockaddr_in)> accept_cb
 
bool connecting {false}
 
std::function< void(int)> connect_cb
 

Member Data Documentation

◆ accept_cb

std::function<void(socket_t, sockaddr_in)> orbit::network::EpollProactor::Context::accept_cb

◆ accepting

bool orbit::network::EpollProactor::Context::accepting {false}

◆ connect_cb

std::function<void(int)> orbit::network::EpollProactor::Context::connect_cb

◆ connecting

bool orbit::network::EpollProactor::Context::connecting {false}

◆ fd

int orbit::network::EpollProactor::Context::fd {-1}

◆ read_buf

void* orbit::network::EpollProactor::Context::read_buf {nullptr}

◆ read_cb

std::function<void(ssize_t)> orbit::network::EpollProactor::Context::read_cb

◆ read_size

size_t orbit::network::EpollProactor::Context::read_size {0}

◆ reading

bool orbit::network::EpollProactor::Context::reading {false}

◆ sendfile_cb

std::function<void(ssize_t)> orbit::network::EpollProactor::Context::sendfile_cb

◆ sendfile_count

size_t orbit::network::EpollProactor::Context::sendfile_count {0}

◆ sendfile_in_fd

int orbit::network::EpollProactor::Context::sendfile_in_fd {-1}

◆ sendfile_in_progress

bool orbit::network::EpollProactor::Context::sendfile_in_progress {false}

◆ sendfile_offset

off_t orbit::network::EpollProactor::Context::sendfile_offset {0}

◆ tracked

bool orbit::network::EpollProactor::Context::tracked {false}

◆ wait_read_cb

std::function<void()> orbit::network::EpollProactor::Context::wait_read_cb

◆ wait_write_cb

std::function<void()> orbit::network::EpollProactor::Context::wait_write_cb

◆ waiting_read

bool orbit::network::EpollProactor::Context::waiting_read {false}

◆ waiting_write

bool orbit::network::EpollProactor::Context::waiting_write {false}

◆ write_buf

const void* orbit::network::EpollProactor::Context::write_buf {nullptr}

◆ write_cb

std::function<void(ssize_t)> orbit::network::EpollProactor::Context::write_cb

◆ write_size

size_t orbit::network::EpollProactor::Context::write_size {0}

◆ writing

bool orbit::network::EpollProactor::Context::writing {false}

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