Sponge
CS144's user-space TCP library
CS144TCPSocket Member List

This is the complete list of members for CS144TCPSocket, including all inherited members.

_abortTCPSpongeSocket< AdaptT >private
_datagram_adapterTCPSpongeSocket< AdaptT >private
_eventloopTCPSpongeSocket< AdaptT >private
_fully_ackedTCPSpongeSocket< AdaptT >private
_inbound_shutdownTCPSpongeSocket< AdaptT >private
_initialize_TCP(const TCPConfig &config)TCPSpongeSocket< AdaptT >private
_internal_fdFileDescriptorprivate
_outbound_shutdownTCPSpongeSocket< AdaptT >private
_tcpTCPSpongeSocket< AdaptT >private
_tcp_loop(const std::function< bool()> &condition)TCPSpongeSocket< AdaptT >private
_tcp_main()TCPSpongeSocket< AdaptT >private
_tcp_threadTCPSpongeSocket< AdaptT >private
_thread_dataTCPSpongeSocket< AdaptT >private
bind(const Address &address)=deleteTCPSpongeSocket< AdaptT >
close()FileDescriptorinline
closed() constFileDescriptorinline
connect(const Address &address)CS144TCPSocket
TCPSpongeSocket::connect(const TCPConfig &c_tcp, const FdAdapterConfig &c_ad)TCPSpongeSocket< AdaptT >
CS144TCPSocket()CS144TCPSocket
duplicate() constFileDescriptor
eof() constFileDescriptorinline
fd_num() constFileDescriptorinline
FileDescriptor(std::shared_ptr< FDWrapper > other_shared_ptr)FileDescriptorexplicitprivate
FileDescriptor(const int fd)FileDescriptorexplicit
FileDescriptor(const FileDescriptor &other)=deleteFileDescriptor
FileDescriptor(FileDescriptor &&other)=defaultFileDescriptor
get_address(const std::string &name_of_function, const std::function< int(int, sockaddr *, socklen_t *)> &function) constSocketprivate
listen_and_accept(const TCPConfig &c_tcp, const FdAdapterConfig &c_ad)TCPSpongeSocket< AdaptT >
local_address() const =deleteTCPSpongeSocket< AdaptT >
LocalStreamSocket(FileDescriptor &&fd)LocalStreamSocketinlineexplicit
operator=(const TCPSpongeSocket &)=deleteTCPSpongeSocket< AdaptT >
operator=(TCPSpongeSocket &&)=deleteTCPSpongeSocket< AdaptT >
LocalStreamSocket::operator=(const FileDescriptor &other)=deleteFileDescriptor
LocalStreamSocket::operator=(FileDescriptor &&other)=defaultFileDescriptor
peer_address() const =deleteTCPSpongeSocket< AdaptT >
read(const size_t limit=std::numeric_limits< size_t >::max())FileDescriptor
read(std::string &str, const size_t limit=std::numeric_limits< size_t >::max())FileDescriptor
read_count() constFileDescriptorinline
set_blocking(const bool blocking_state)FileDescriptor
set_reuseaddr()=deleteTCPSpongeSocket< AdaptT >
setsockopt(const int level, const int option, const option_type &option_value)Socketprotected
shutdown(const int how)Socket
Socket(const int domain, const int type)Socketprotected
Socket(FileDescriptor &&fd, const int domain, const int type)Socketprotected
TCPSpongeSocket(std::pair< FileDescriptor, FileDescriptor > data_socket_pair, AdaptT &&datagram_interface)TCPSpongeSocket< AdaptT >private
TCPSpongeSocket(AdaptT &&datagram_interface)TCPSpongeSocket< AdaptT >explicit
TCPSpongeSocket(const TCPSpongeSocket &)=deleteTCPSpongeSocket< AdaptT >
TCPSpongeSocket(TCPSpongeSocket &&)=deleteTCPSpongeSocket< AdaptT >
wait_until_closed()TCPSpongeSocket< AdaptT >
write(const char *str, const bool write_all=true)FileDescriptorinline
write(const std::string &str, const bool write_all=true)FileDescriptorinline
write(BufferViewList buffer, const bool write_all=true)FileDescriptor
write_count() constFileDescriptorinline
~FileDescriptor()=defaultFileDescriptor
~TCPSpongeSocket()TCPSpongeSocket< AdaptT >