xentara-utils v2.0.4
The Xentara Utility Library
|
This is the complete list of members for xentara::utils::network::SocketDevice, including all inherited members.
addressFamily() const noexcept -> int | xentara::utils::network::SocketDevice | |
advanceReadPosition(std::size_t offset) -> std::optional< std::size_t > | xentara::utils::io::InputDevice | |
availableReadSize() const -> std::optional< std::size_t > | xentara::utils::io::InputDevice | |
bind(PortNumber portNumber) -> void | xentara::utils::network::SocketDevice | |
bind(const Address &address) -> void | xentara::utils::network::SocketDevice | |
close() noexcept -> void | xentara::utils::network::SocketDevice | |
compatibleSocket(const Address &address, Options... options) -> SocketDevice | xentara::utils::network::SocketDevice | static |
connect(const Address &address) -> void | xentara::utils::network::SocketDevice | |
connect(const Address &address, std::optional< std::chrono::nanoseconds > timeout) -> bool | xentara::utils::network::SocketDevice | |
connectedSocket(const Address &address, Options... options) -> SocketDevice | xentara::utils::network::SocketDevice | static |
connectedSocket(const std::vector< Address > &addresses, Options... options) -> SocketDevice | xentara::utils::network::SocketDevice | static |
connectedSocket(std::string_view hostName, Options... options) -> SocketDevice | xentara::utils::network::SocketDevice | static |
defaultTimeout() noexcept -> std::chrono::nanoseconds | xentara::utils::network::SocketDevice | static |
deviceDescription() const -> std::string | xentara::utils::io::DeviceBase | |
doAdvanceReadPosition(std::size_t offset) -> std::optional< std::size_t > | xentara::utils::io::InputDevice | protectedvirtual |
doGetAvailableReadSize() const -> std::optional< std::size_t > | xentara::utils::io::InputDevice | protectedvirtual |
doGetDeviceDescription() const -> std::string=0 | xentara::utils::io::DeviceBase | protectedpure virtual |
doGetReadPosition() const -> std::optional< std::size_t > | xentara::utils::io::InputDevice | protectedvirtual |
doGetReadTimeout() const noexcept -> std::chrono::nanoseconds | xentara::utils::io::InputDevice | protectedvirtual |
doGetRemainingReadSize() const -> std::optional< std::size_t > | xentara::utils::io::InputDevice | protectedvirtual |
doGetWritePosition() const -> std::optional< std::size_t > | xentara::utils::io::OutputDevice | protectedvirtual |
doGetWriteTimeout() const noexcept -> std::chrono::nanoseconds | xentara::utils::io::OutputDevice | protectedvirtual |
doMoveReadPosition(std::ptrdiff_t offset, std::ios_base::seekdir origin=std::ios_base::cur) -> std::optional< std::size_t > | xentara::utils::io::InputDevice | protectedvirtual |
doMoveWritePosition(std::ptrdiff_t offset, std::ios_base::seekdir origin=std::ios_base::cur) -> std::optional< std::size_t > | xentara::utils::io::OutputDevice | protectedvirtual |
doRead(std::byte *buffer, std::size_t size) -> std::optional< std::size_t >=0 | xentara::utils::io::InputDevice | protectedpure virtual |
doSetReadPosition(std::size_t position) -> std::optional< std::size_t > | xentara::utils::io::InputDevice | protectedvirtual |
doSetWritePosition(std::size_t position) -> std::optional< std::size_t > | xentara::utils::io::OutputDevice | protectedvirtual |
doThrowEndOfStreamError() const -> void | xentara::utils::io::InputDevice | protectedvirtual |
doWaitForData(std::optional< std::chrono::nanoseconds > timeout) -> bool | xentara::utils::io::InputDevice | protectedvirtual |
doWaitForDataAndRead(std::byte *buffer, std::size_t size, std::chrono::nanoseconds timeout) -> std::optional< std::size_t > | xentara::utils::io::InputDevice | protectedvirtual |
doWaitUntilWritable(std::optional< std::chrono::nanoseconds > timeout) -> bool | xentara::utils::io::OutputDevice | protectedvirtual |
doWaitUntilWritableAndWrite(const std::byte *data, std::size_t size, std::chrono::nanoseconds timeout) -> std::size_t | xentara::utils::io::OutputDevice | protectedvirtual |
doWrite(const std::byte *data, std::size_t size) -> std::size_t=0 | xentara::utils::io::OutputDevice | protectedpure virtual |
getOption(int level, int optionName, std::nothrow_t) const noexcept -> xentara::utils::eh::expected< Value, std::error_code > | xentara::utils::network::SocketDevice | |
localAddress() const -> Address | xentara::utils::network::SocketDevice | |
moveReadPosition(std::ptrdiff_t offset, std::ios_base::seekdir origin=std::ios_base::cur) -> std::optional< std::size_t > | xentara::utils::io::InputDevice | |
moveWritePosition(std::ptrdiff_t offset, std::ios_base::seekdir origin=std::ios_base::cur) -> std::optional< std::size_t > | xentara::utils::io::OutputDevice | |
native() const noexcept -> int | xentara::utils::network::SocketDevice | |
native() const noexcept -> SOCKET | xentara::utils::network::SocketDevice | |
operator bool() const noexcept | xentara::utils::network::SocketDevice | explicit |
operator=(Socket &&socket) -> SocketDevice & | xentara::utils::network::SocketDevice | |
operator=(posix::File socketFileDescriptor) -> SocketDevice & | xentara::utils::network::SocketDevice | |
operator=(windows::Socket socket) -> SocketDevice & | xentara::utils::network::SocketDevice | |
xentara::utils::tools::Unique::operator=(Unique &&) noexcept=default | xentara::utils::tools::Unique | private |
xentara::utils::tools::Unique::operator=(const Unique &)=delete | xentara::utils::tools::Unique | private |
option(int level, int optionName) const -> Value | xentara::utils::network::SocketDevice | |
protocol() const noexcept -> int | xentara::utils::network::SocketDevice | |
read(std::size_t size) -> core::RawDataBlock | xentara::utils::io::InputDevice | |
read(std::byte(&array)[kArraySize]) -> void | xentara::utils::io::InputDevice | |
read(std::array< std::byte, kArraySize > &array) -> void | xentara::utils::io::InputDevice | |
read(Iterator first, Sentinel last) -> void | xentara::utils::io::InputDevice | |
read(std::byte *buffer, std::size_t size) -> void | xentara::utils::io::InputDevice | |
readAll() -> core::RawDataBlock | xentara::utils::io::InputDevice | |
readAll(std::size_t maxSize) -> core::RawDataBlock | xentara::utils::io::InputDevice | |
readAvailable() -> std::pair< core::RawDataBlock, bool > | xentara::utils::io::InputDevice | |
readAvailable(std::size_t maxSize) -> std::pair< core::RawDataBlock, bool > | xentara::utils::io::InputDevice | |
readAvailable(std::byte(&array)[kArraySize]) -> std::pair< std::size_t, bool > | xentara::utils::io::InputDevice | |
readAvailable(std::array< std::byte, kArraySize > &array) -> std::pair< std::size_t, bool > | xentara::utils::io::InputDevice | |
readAvailable(Iterator first, Sentinel last) -> std::pair< Iterator, bool > | xentara::utils::io::InputDevice | |
readAvailable(std::byte *buffer, std::size_t size) -> std::pair< std::size_t, bool > | xentara::utils::io::InputDevice | |
readByte() -> std::byte | xentara::utils::io::InputDevice | |
readChunk() -> core::RawDataBlock | xentara::utils::io::InputDevice | |
readChunk(std::size_t maxSize) -> core::RawDataBlock | xentara::utils::io::InputDevice | |
readChunk(std::byte(&array)[kArraySize]) -> core::RawDataBlock | xentara::utils::io::InputDevice | |
readChunk(std::array< std::byte, kArraySize > &array) -> core::RawDataBlock | xentara::utils::io::InputDevice | |
readChunk(Iterator first, Sentinel last) -> Iterator | xentara::utils::io::InputDevice | |
readChunk(std::byte *buffer, std::size_t size) -> std::size_t | xentara::utils::io::InputDevice | |
readPosition() const -> std::optional< std::size_t > | xentara::utils::io::InputDevice | |
readTimeout() const noexcept -> std::chrono::nanoseconds | xentara::utils::io::InputDevice | |
release() noexcept -> int | xentara::utils::network::SocketDevice | |
release() noexcept -> SOCKET | xentara::utils::network::SocketDevice | |
remainingReadSize() const -> std::optional< std::size_t > | xentara::utils::io::InputDevice | |
remoteAddress() const -> Address | xentara::utils::network::SocketDevice | |
rewind() -> bool | xentara::utils::io::InputDevice | |
setOption(int level, int optionName, const Value &value) -> void | xentara::utils::network::SocketDevice | |
setOption(int level, int optionName, const Value &value, std::nothrow_t) noexcept -> std::error_code | xentara::utils::network::SocketDevice | |
setReadPosition(std::size_t position) -> std::optional< std::size_t > | xentara::utils::io::InputDevice | |
setReadTimeout(std::chrono::nanoseconds timeout) noexcept | xentara::utils::network::SocketDevice | |
setTimeout(std::chrono::nanoseconds timeout) noexcept | xentara::utils::network::SocketDevice | |
setWritePosition(std::size_t position) -> std::optional< std::size_t > | xentara::utils::io::OutputDevice | |
setWriteTimeout(std::chrono::nanoseconds timeout) noexcept | xentara::utils::network::SocketDevice | |
shutdown(Socket::Direction directions=Socket::Direction::ReadWrite) -> void | xentara::utils::network::SocketDevice | |
socket() const &noexcept -> const Socket & | xentara::utils::network::SocketDevice | |
socket() &&noexcept -> Socket && | xentara::utils::network::SocketDevice | |
SocketDevice() noexcept=default | xentara::utils::network::SocketDevice | |
SocketDevice(std::reference_wrapper< const io::StopSource > stopSource) noexcept | xentara::utils::network::SocketDevice | explicit |
SocketDevice(Socket &&socket, Options... options) | xentara::utils::network::SocketDevice | |
SocketDevice(int addressFamily, Options... options) | xentara::utils::network::SocketDevice | explicit |
SocketDevice(posix::File socketFileDescriptor, Options... options) | xentara::utils::network::SocketDevice | |
SocketDevice(windows::Socket socket, Options... options) | xentara::utils::network::SocketDevice | |
throwEndOfStreamError() const -> void | xentara::utils::io::InputDevice | |
tryReadByte() -> std::optional< std::byte > | xentara::utils::io::InputDevice | |
tryWrite(const Data &data) -> std::ranges::range_size_t< Data > | xentara::utils::io::OutputDevice | |
tryWrite(Iterator first, Sentinel last) -> Iterator | xentara::utils::io::OutputDevice | |
tryWrite(const std::byte *data, std::size_t size) -> std::size_t | xentara::utils::io::OutputDevice | |
tryWriteByte(std::byte byte) -> bool | xentara::utils::io::OutputDevice | |
waitForData() -> void | xentara::utils::io::InputDevice | |
waitForData(std::optional< std::chrono::nanoseconds > timeout) -> bool | xentara::utils::io::InputDevice | |
waitUntilWritable(std::chrono::nanoseconds timeout) -> bool | xentara::utils::io::OutputDevice | |
write(const Data &data) -> void | xentara::utils::io::OutputDevice | |
write(Iterator first, Sentinel last) -> void | xentara::utils::io::OutputDevice | |
write(const std::byte *data, std::size_t size) -> void | xentara::utils::io::OutputDevice | |
writeByte(std::byte byte) -> void | xentara::utils::io::OutputDevice | |
writeChunk(const Data &data) -> std::ranges::range_size_t< Data > | xentara::utils::io::OutputDevice | |
writeChunk(Iterator first, Sentinel last) -> Iterator | xentara::utils::io::OutputDevice | |
writeChunk(const std::byte *data, std::size_t size) -> std::size_t | xentara::utils::io::OutputDevice | |
writePosition() const -> std::optional< std::size_t > | xentara::utils::io::OutputDevice | |
writeTimeout() const noexcept -> std::chrono::nanoseconds | xentara::utils::io::OutputDevice | |
~DeviceBase() noexcept(false)=0 | xentara::utils::io::DeviceBase | pure virtual |
~InputDevice() noexcept(false)=0 | xentara::utils::io::InputDevice | pure virtual |
~OutputDevice() noexcept(false)=0 | xentara::utils::io::OutputDevice | pure virtual |
~SocketDevice() noexcept=default | xentara::utils::network::SocketDevice |