High performance C++ framework for concurrent servers
Classes | Public Member Functions | Public Attributes | Protected Member Functions | List of all members
seastar::pollable_fd_state Class Reference


struct  speculation

Public Member Functions

 pollable_fd_state (const pollable_fd_state &)=delete
void operator= (const pollable_fd_state &)=delete
void speculate_epoll (int events)
future< size_t > read_some (char *buffer, size_t size)
future< size_t > read_some (uint8_t *buffer, size_t size)
future< size_t > read_some (const std::vector< iovec > &iov)
future< temporary_buffer< char > > read_some (internal::buffer_allocator *ba)
future write_all (const char *buffer, size_t size)
future write_all (const uint8_t *buffer, size_t size)
future< size_t > write_some (net::packet &p)
future write_all (net::packet &p)
future readable ()
future writeable ()
future readable_or_writeable ()
void abort_reader ()
void abort_writer ()
future< std::tuple< pollable_fd, socket_address > > accept ()
future connect (socket_address &sa)
future< size_t > sendmsg (struct msghdr *msg)
future< size_t > recvmsg (struct msghdr *msg)
future< size_t > sendto (socket_address addr, const void *buf, size_t len)

Public Attributes

file_desc fd
bool events_rw = false
bool no_more_recv = false
bool no_more_send = false
int events_requested = 0
int events_epoll = 0
int events_known = 0

Protected Member Functions

 pollable_fd_state (file_desc fd, speculation speculate=speculation())

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