C++ Actor Framework 1.0.0
Loading...
Searching...
No Matches
caf::net::octet_stream Namespace Reference

Contains classes and utilities for transports that operate on raw octets. More...

Classes

class  client_factory
 Factory for the with(...).connect(...).start(...) DSL. More...
 
class  lower_layer
 Provides access to a resource that operates on a byte stream, e.g., a TCP socket. More...
 
class  policy
 Configures a transport object. More...
 
class  upper_layer
 The upper layer requests bytes from the lower layer and consumes raw chunks of data. More...
 
class  with_t
 Entry point for the with(...) DSL. More...
 

Enumerations

enum class  errc {
  temporary ,
  want_read ,
  want_write ,
  permanent
}
 Holds error codes for the octet_stream::transport. More...
 

Functions

auto with (actor_system &sys)
 
auto with (multiplexer *mpx)
 

Detailed Description

Contains classes and utilities for transports that operate on raw octets.

Enumeration Type Documentation

◆ errc

enum class caf::net::octet_stream::errc
strong

Holds error codes for the octet_stream::transport.

Enumerator
temporary 

Indicates that the transport should try again later.

want_read 

Indicates that the transport must read data before trying again.

want_write 

Indicates that the transport must write data before trying again.

permanent 

Indicates that the transport cannot resume this operation.