libcaf  0.13.2
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
caf::io::abstract_broker::scribe Class Referenceabstract

Manages a stream. More...

#include <abstract_broker.hpp>

Inheritance diagram for caf::io::abstract_broker::scribe:
caf::io::abstract_broker::servant

Public Member Functions

 scribe (abstract_broker *parent, connection_handle hdl)
 
virtual void configure_read (receive_policy::config config)=0
 Implicitly starts the read loop on first call.
 
virtual buffer_type & wr_buf ()=0
 Grants access to the output buffer.
 
virtual void flush ()=0
 Flushes the output buffer, i.e., sends the content of the buffer via the network. More...
 
connection_handle hdl () const
 
void io_failure (network::operation op) override
 
- Public Member Functions inherited from caf::io::abstract_broker::servant
void set_broker (abstract_broker *ptr)
 

Protected Member Functions

virtual buffer_type & rd_buf ()=0
 
new_data_msgread_msg ()
 
const new_data_msgread_msg () const
 
void remove_from_broker () override
 
message disconnect_message () override
 
void consume (const void *data, size_t num_bytes) override
 
- Protected Member Functions inherited from caf::io::abstract_broker::servant
abstract_broker * parent ()
 
 servant (abstract_broker *ptr)
 
void disconnect (bool invoke_disconnect_message)
 

Protected Attributes

connection_handle hdl_
 
message read_msg_
 
- Protected Attributes inherited from caf::io::abstract_broker::servant
bool disconnected_
 
abstract_broker * broker_
 

Detailed Description

Manages a stream.

Member Function Documentation

virtual void caf::io::abstract_broker::scribe::flush ( )
pure virtual

Flushes the output buffer, i.e., sends the content of the buffer via the network.


The documentation for this class was generated from the following file: