Async, zero-copy API for sending and receiving bytes or datagrams.
|
| template<Property... kProperties> |
| using | pw::channel::ByteChannel = Channel< DataType::kByte, kProperties... > |
| |
| template<Property... kProperties> |
| using | pw::channel::DatagramChannel = Channel< DataType::kDatagram, kProperties... > |
| |
| using | pw::channel::ByteReader = ByteChannel< kReadable > |
| |
| using | pw::channel::ByteWriter = ByteChannel< kWritable > |
| |
| using | pw::channel::ByteReaderWriter = ByteChannel< kReadable, kWritable > |
| |
| using | pw::channel::ReliableByteReader = ByteChannel< kReliable, kReadable > |
| |
| using | pw::channel::ReliableByteWriter = ByteChannel< kReliable, kWritable > |
| |
| using | pw::channel::ReliableByteReaderWriter = ByteChannel< kReliable, kReadable, kWritable > |
| |
| using | pw::channel::DatagramReader = DatagramChannel< kReadable > |
| |
| using | pw::channel::DatagramWriter = DatagramChannel< kWritable > |
| |
| using | pw::channel::DatagramReaderWriter = DatagramChannel< kReadable, kWritable > |
| |
| using | pw::channel::ReliableDatagramReader = DatagramChannel< kReliable, kReadable > |
| |
| using | pw::channel::ReliableDatagramWriter = DatagramChannel< kReliable, kWritable > |
| |
| using | pw::channel::ReliableDatagramReaderWriter = DatagramChannel< kReliable, kReadable, kWritable > |
| |
| template<Property... kProperties> |
| using | pw::channel::ByteChannelImpl = ChannelImpl< DataType::kByte, kProperties... > |
| |
| template<Property... kProperties> |
| using | pw::channel::DatagramChannelImpl = ChannelImpl< DataType::kDatagram, kProperties... > |
| |
◆ ByteChannel
template<Property... kProperties>
◆ ByteChannelImpl
template<Property... kProperties>
◆ ByteReader
◆ ByteReaderWriter
◆ ByteWriter
◆ DatagramChannel
template<Property... kProperties>
◆ DatagramChannelImpl
template<Property... kProperties>
◆ DatagramReader
◆ DatagramReaderWriter
◆ DatagramWriter
◆ ReliableByteReader
◆ ReliableByteReaderWriter
◆ ReliableByteWriter
◆ ReliableDatagramReader
◆ ReliableDatagramReaderWriter
◆ ReliableDatagramWriter
◆ DataType
◆ Property
Basic properties of a Channel. A Channel type can convert to any other Channel for which it supports the required properties. For example, a kReadable and kWritable channel may be passed to an API that only requires kReadable.
- Deprecated:
- pw_channel is deprecated; use pw::transport::Socket or pw::transport::ReliableSocket.
| Enumerator |
|---|
| kReliable | All data is guaranteed to be delivered in order. The channel is closed if data is lost.
|
| kReadable | The channel supports reading.
|
| kWritable | The channel supports writing.
|