|
template<Property... kProperties> |
using | pw::channel::ByteChannel = Channel< DataType::kByte, kProperties... > |
| A ByteChannel exchanges data as a stream of bytes.
|
|
template<Property... kProperties> |
using | pw::channel::DatagramChannel = Channel< DataType::kDatagram, kProperties... > |
| A DatagramChannel exchanges data as a series of datagrams.
|
|
using | pw::channel::ByteReader = ByteChannel< kReadable > |
| Unreliable byte-oriented Channel that supports reading.
|
|
using | pw::channel::ByteWriter = ByteChannel< kWritable > |
| Unreliable byte-oriented Channel that supports writing.
|
|
using | pw::channel::ByteReaderWriter = ByteChannel< kReadable, kWritable > |
| Unreliable byte-oriented Channel that supports reading and writing.
|
|
using | pw::channel::ReliableByteReader = ByteChannel< kReliable, kReadable > |
| Reliable byte-oriented Channel that supports reading.
|
|
using | pw::channel::ReliableByteWriter = ByteChannel< kReliable, kWritable > |
| Reliable byte-oriented Channel that supports writing.
|
|
using | pw::channel::ReliableByteReaderWriter = ByteChannel< kReliable, kReadable, kWritable > |
| Reliable byte-oriented Channel that supports reading and writing.
|
|
using | pw::channel::DatagramReader = DatagramChannel< kReadable > |
| Unreliable datagram-oriented Channel that supports reading.
|
|
using | pw::channel::DatagramWriter = DatagramChannel< kWritable > |
| Unreliable datagram-oriented Channel that supports writing.
|
|
using | pw::channel::DatagramReaderWriter = DatagramChannel< kReadable, kWritable > |
| Unreliable datagram-oriented Channel that supports reading and writing.
|
|
using | pw::channel::ReliableDatagramReader = DatagramChannel< kReliable, kReadable > |
| Reliable datagram-oriented Channel that supports reading.
|
|
using | pw::channel::ReliableDatagramWriter = DatagramChannel< kReliable, kWritable > |
| Reliable datagram-oriented Channel that supports writing.
|
|
using | pw::channel::ReliableDatagramReaderWriter = DatagramChannel< kReliable, kReadable, kWritable > |
| Reliable datagram-oriented Channel that supports reading and writing.
|
|
template<Property... kProperties> |
using | pw::channel::ByteChannelImpl = ChannelImpl< DataType::kByte, kProperties... > |
| Implement a byte-oriented Channel with the specified properties.
|
|
template<Property... kProperties> |
using | pw::channel::DatagramChannelImpl = ChannelImpl< DataType::kDatagram, kProperties... > |
| Implement a datagram-oriented Channel with the specified properties.
|
|
using | pw::channel::PacketChannel< T, kProperties >::Packet = T |
|
using | pw::channel::AnyPacketChannel< T >::Packet = T |
|
using | pw::channel::internal::BasePacketChannelImpl< Packet, kProperties >::Channel = PacketChannel< Packet, kProperties... > |
|
|
| pw::channel::EpollChannel::EpollChannel (int channel_fd, async2::Dispatcher &dispatcher, multibuf::MultiBufAllocator &allocator) |
|
| pw::channel::EpollChannel::EpollChannel (const EpollChannel &)=delete |
|
EpollChannel & | pw::channel::EpollChannel::operator= (const EpollChannel &)=delete |
|
| pw::channel::EpollChannel::EpollChannel (EpollChannel &&)=default |
|
EpollChannel & | pw::channel::EpollChannel::operator= (EpollChannel &&)=default |
|
constexpr | pw::channel::ForwardingChannelPair< kType >::ForwardingChannelPair (multibuf::MultiBufAllocator &first_write_alloc, multibuf::MultiBufAllocator &second_write_alloc) |
|
| pw::channel::ForwardingChannelPair< kType >::ForwardingChannelPair (const ForwardingChannelPair &)=delete |
|
ForwardingChannelPair & | pw::channel::ForwardingChannelPair< kType >::operator= (const ForwardingChannelPair &)=delete |
|
| pw::channel::ForwardingChannelPair< kType >::ForwardingChannelPair (ForwardingChannelPair &&)=delete |
|
ForwardingChannelPair & | pw::channel::ForwardingChannelPair< kType >::operator= (ForwardingChannelPair &&)=delete |
|
Channel< kType, kReliable, kReadable, kWritable > & | pw::channel::ForwardingChannelPair< kType >::first () |
| Returns the first channel in the pair.
|
|
const Channel< kType, kReliable, kReadable, kWritable > & | pw::channel::ForwardingChannelPair< kType >::first () const |
| Returns a const reference to the first channel in the pair.
|
|
Channel< kType, kReliable, kReadable, kWritable > & | pw::channel::ForwardingChannelPair< kType >::second () |
| Returns the second channel in the pair.
|
|
const Channel< kType, kReliable, kReadable, kWritable > & | pw::channel::ForwardingChannelPair< kType >::second () const |
| Returns a const reference to the second channel in the pair.
|
|
| pw::channel::internal::ForwardingChannel< DataType::kDatagram >::ForwardingChannel (const ForwardingChannel &)=delete |
|
ForwardingChannel & | pw::channel::internal::ForwardingChannel< DataType::kDatagram >::operator= (const ForwardingChannel &)=delete |
|
| pw::channel::internal::ForwardingChannel< DataType::kDatagram >::ForwardingChannel (ForwardingChannel &&)=delete |
|
ForwardingChannel & | pw::channel::internal::ForwardingChannel< DataType::kDatagram >::operator= (ForwardingChannel &&)=delete |
|
| pw::channel::internal::ForwardingChannel< DataType::kByte >::ForwardingChannel (const ForwardingChannel &)=delete |
|
ForwardingChannel & | pw::channel::internal::ForwardingChannel< DataType::kByte >::operator= (const ForwardingChannel &)=delete |
|
| pw::channel::internal::ForwardingChannel< DataType::kByte >::ForwardingChannel (ForwardingChannel &&)=delete |
|
ForwardingChannel & | pw::channel::internal::ForwardingChannel< DataType::kByte >::operator= (ForwardingChannel &&)=delete |
|
| pw::channel::LoopbackChannel< DataType::kDatagram >::LoopbackChannel (multibuf::MultiBufAllocator &write_allocator) |
|
| pw::channel::LoopbackChannel< DataType::kDatagram >::LoopbackChannel (const LoopbackChannel &)=delete |
|
LoopbackChannel & | pw::channel::LoopbackChannel< DataType::kDatagram >::operator= (const LoopbackChannel &)=delete |
|
| pw::channel::LoopbackChannel< DataType::kDatagram >::LoopbackChannel (LoopbackChannel &&)=default |
|
LoopbackChannel & | pw::channel::LoopbackChannel< DataType::kDatagram >::operator= (LoopbackChannel &&)=default |
|
| pw::channel::LoopbackChannel< DataType::kByte >::LoopbackChannel (multibuf::MultiBufAllocator &write_allocator) |
|
| pw::channel::LoopbackChannel< DataType::kByte >::LoopbackChannel (const LoopbackChannel &)=delete |
|
LoopbackChannel & | pw::channel::LoopbackChannel< DataType::kByte >::operator= (const LoopbackChannel &)=delete |
|
| pw::channel::LoopbackChannel< DataType::kByte >::LoopbackChannel (LoopbackChannel &&)=default |
|
LoopbackChannel & | pw::channel::LoopbackChannel< DataType::kByte >::operator= (LoopbackChannel &&)=default |
|
| pw::channel::PendingWrite< Packet >::PendingWrite (const PendingWrite &)=delete |
|
PendingWrite & | pw::channel::PendingWrite< Packet >::operator= (const PendingWrite &)=delete |
|
constexpr | pw::channel::PendingWrite< Packet >::PendingWrite (PendingWrite &&other) |
|
constexpr PendingWrite & | pw::channel::PendingWrite< Packet >::operator= (PendingWrite &&other) |
|
void | pw::channel::PendingWrite< Packet >::Stage (Packet &&packet) |
|
size_t | pw::channel::PendingWrite< Packet >::num_packets () const |
|
static constexpr bool | pw::channel::PacketChannel< T, kProperties >::readable () |
|
static constexpr bool | pw::channel::PacketChannel< T, kProperties >::writable () |
|
constexpr bool | pw::channel::PacketChannel< T, kProperties >::is_read_open () const |
|
constexpr bool | pw::channel::PacketChannel< T, kProperties >::is_write_open () const |
|
constexpr bool | pw::channel::PacketChannel< T, kProperties >::is_read_or_write_open () const |
|
async2::PollResult< Packet > | pw::channel::PacketChannel< T, kProperties >::PendRead (async2::Context &cx) |
|
async2::PollResult< PendingWrite< Packet > > | pw::channel::PacketChannel< T, kProperties >::PendReadyToWrite (async2::Context &cx, size_t num=1) |
|
async2::Poll | pw::channel::PacketChannel< T, kProperties >::PendWrite (async2::Context &cx) |
|
void | pw::channel::PacketChannel< T, kProperties >::SetAvailableWrites (uint16_t available_writes) |
|
void | pw::channel::PacketChannel< T, kProperties >::AcknowledgeWrites (uint16_t num_completed) |
|
async2::Poll< Status > | pw::channel::PacketChannel< T, kProperties >::PendClose (async2::Context &cx) |
|
template<typename Sibling , typename = internal::EnableIfConvertible<PacketChannel, Sibling>> |
constexpr | pw::channel::PacketChannel< T, kProperties >::operator Sibling & () |
| Channels may be implicitly converted to other compatible channel types.
|
|
template<typename Sibling , typename = internal::EnableIfConvertible<PacketChannel, Sibling>> |
constexpr | pw::channel::PacketChannel< T, kProperties >::operator const Sibling & () const |
|
constexpr | pw::channel::PacketChannel< T, kProperties >::operator AnyPacketChannel< Packet > & () |
|
constexpr | pw::channel::PacketChannel< T, kProperties >::operator const AnyPacketChannel< Packet > & () const |
|
template<typename Sibling > |
Sibling & | pw::channel::PacketChannel< T, kProperties >::as () |
| Returns a reference to this as another compatible packet channel type.
|
|
template<typename Sibling > |
const Sibling & | pw::channel::PacketChannel< T, kProperties >::as () const |
|
uint16_t | pw::channel::PacketChannel< T, kProperties >::GetAvailableWrites () const |
|
constexpr bool | pw::channel::AnyPacketChannel< T >::readable () const |
| Returns whether the channel implementation is readable.
|
|
constexpr bool | pw::channel::AnyPacketChannel< T >::writable () const |
| Returns whether the channel implementation is writable.
|
|
constexpr bool | pw::channel::AnyPacketChannel< T >::is_read_open () const |
|
constexpr bool | pw::channel::AnyPacketChannel< T >::is_write_open () const |
|
constexpr bool | pw::channel::AnyPacketChannel< T >::is_read_or_write_open () const |
| True if the channel is open for either reading or writing.
|
|
async2::PollResult< Packet > | pw::channel::AnyPacketChannel< T >::PendRead (async2::Context &cx) |
|
async2::PollResult< PendingWrite< Packet > > | pw::channel::AnyPacketChannel< T >::PendReadyToWrite (async2::Context &cx, size_t num=1) |
|
async2::Poll | pw::channel::AnyPacketChannel< T >::PendWrite (async2::Context &cx) |
|
void | pw::channel::AnyPacketChannel< T >::SetAvailableWrites (uint16_t available_writes) |
|
void | pw::channel::AnyPacketChannel< T >::AcknowledgeWrites (uint16_t num_completed) |
|
async2::Poll< Status > | pw::channel::AnyPacketChannel< T >::PendClose (async2::Context &cx) |
|
uint16_t | pw::channel::AnyPacketChannel< T >::GetAvailableWrites () const |
|
void | pw::channel::AnyPacketChannel< T >::set_read_closed () |
|
void | pw::channel::AnyPacketChannel< T >::set_write_closed () |
|
void | pw::channel::AnyPacketChannel< T >::set_read_write_closed () |
|
async2::Waker & | pw::channel::AnyPacketChannel< T >::write_waker () |
| Allows implementations to access the write waker.
|
|
Channel & | pw::channel::internal::BasePacketChannelImpl< Packet, kProperties >::channel () |
|
const Channel & | pw::channel::internal::BasePacketChannelImpl< Packet, kProperties >::channel () const |
|
| pw::channel::internal::StreamChannelReadState::StreamChannelReadState (const StreamChannelReadState &)=delete |
|
StreamChannelReadState & | pw::channel::internal::StreamChannelReadState::operator= (const StreamChannelReadState &)=delete |
|
| pw::channel::internal::StreamChannelReadState::StreamChannelReadState (StreamChannelReadState &&)=delete |
|
StreamChannelReadState & | pw::channel::internal::StreamChannelReadState::operator= (StreamChannelReadState &&)=delete |
|
bool | pw::channel::internal::StreamChannelReadState::HasBufferToFill () |
|
void | pw::channel::internal::StreamChannelReadState::ProvideBufferToFill (multibuf::MultiBuf &&buf) |
| Provide a buffer for ReadLoop to read data into.
|
|
async2::PollResult< multibuf::MultiBuf > | pw::channel::internal::StreamChannelReadState::PendFilledBuffer (async2::Context &cx) |
|
void | pw::channel::internal::StreamChannelReadState::ReadLoop (stream::Reader &reader) |
|
| pw::channel::internal::StreamChannelWriteState::StreamChannelWriteState (const StreamChannelWriteState &)=delete |
|
StreamChannelWriteState & | pw::channel::internal::StreamChannelWriteState::operator= (const StreamChannelWriteState &)=delete |
|
| pw::channel::internal::StreamChannelWriteState::StreamChannelWriteState (StreamChannelWriteState &&)=delete |
|
StreamChannelWriteState & | pw::channel::internal::StreamChannelWriteState::operator= (StreamChannelWriteState &&)=delete |
|
Status | pw::channel::internal::StreamChannelWriteState::SendData (multibuf::MultiBuf &&buf) |
|
void | pw::channel::internal::StreamChannelWriteState::WriteLoop (stream::Writer &writer) |
|
| pw::channel::StreamChannel::StreamChannel (stream::Reader &reader, const thread::Options &read_thread_options, multibuf::MultiBufAllocator &read_allocator, stream::Writer &writer, const thread::Options &write_thread_option, multibuf::MultiBufAllocator &write_allocator) |
|
| pw::channel::StreamChannel::StreamChannel (multibuf::MultiBufAllocator &allocator, stream::Reader &reader, const thread::Options &read_thread_options, stream::Writer &writer, const thread::Options &write_thread_options) |
|
| pw::channel::StreamChannel::StreamChannel (const StreamChannel &)=delete |
|
StreamChannel & | pw::channel::StreamChannel::operator= (const StreamChannel &)=delete |
|
| pw::channel::StreamChannel::StreamChannel (StreamChannel &&)=delete |
|
StreamChannel & | pw::channel::StreamChannel::operator= (StreamChannel &&)=delete |
|
constexpr | pw::channel::TestPacketReaderWriter< Packet >::TestPacketReaderWriter (allocator::Allocator &allocator) |
|
span< const Packet > | pw::channel::TestPacketReaderWriter< Packet >::written_packets () const |
| Returns all packets that have been written to this packet channel.
|
|
void | pw::channel::TestPacketReaderWriter< Packet >::EnqueueReadPacket (Packet &&packet) |
| Enqueues packets to be returned from future PendRead calls.
|
|