C++ Actor Framework 1.0.0
Loading...
Searching...
No Matches
caf::net::http::responder::promise_state Class Reference

Implementation detail for promise. More...

#include <responder.hpp>

Inheritance diagram for caf::net::http::responder::promise_state:
caf::ref_counted caf::detail::atomic_ref_counted

Public Member Functions

 promise_state (lower_layer::server *down)
 
 promise_state (const promise_state &)=delete
 
promise_stateoperator- (const promise_state &)=delete
 
lower_layer::server * down ()
 Returns a pointer to the HTTP layer.
 
void set_completed ()
 Marks the promise as fulfilled.
 
- Public Member Functions inherited from caf::detail::atomic_ref_counted
 atomic_ref_counted (const atomic_ref_counted &)
 
atomic_ref_countedoperator= (const atomic_ref_counted &)
 
void ref () const noexcept
 Increases reference count by one.
 
void deref () const noexcept
 Decreases reference count by one and calls request_deletion when it drops to zero.
 
bool unique () const noexcept
 Queries whether there is exactly one reference.
 
size_t get_reference_count () const noexcept
 Queries the current reference count for this object.
 

Additional Inherited Members

- Public Types inherited from caf::ref_counted
using super = detail::atomic_ref_counted
 
- Protected Attributes inherited from caf::detail::atomic_ref_counted
std::atomic< size_t > rc_
 

Detailed Description

Implementation detail for promise.


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