C++ Actor Framework 0.19
|
This helper class identifies an expected response message and enables request(...).then(...)
.
More...
#include <response_handle.hpp>
Public Types | |
using | actor_type = ActorType |
using | traits = actor_traits< actor_type > |
using | policy_type = Policy |
using | response_type = typename policy_type::response_type |
Public Member Functions | |
response_handle (const response_handle &)=delete | |
response_handle & | operator= (const response_handle &)=delete |
response_handle (response_handle &&) noexcept=default | |
response_handle & | operator= (response_handle &&) noexcept=delete |
template<class... Ts> | |
response_handle (actor_type *self, Ts &&... xs) | |
template<class T = traits, class F , class OnError > | |
std::enable_if_t< T::is_non_blocking > | await (F f, OnError g) |
template<class T = traits, class F > | |
std::enable_if_t< detail::has_call_error_handler_v< ActorType > &&T::is_non_blocking > | await (F f) |
template<class T = traits, class F , class OnError > | |
std::enable_if_t< T::is_non_blocking > | then (F f, OnError g) |
template<class T = traits, class F > | |
std::enable_if_t< detail::has_call_error_handler_v< ActorType > &&T::is_non_blocking > | then (F f) |
template<class T > | |
flow::assert_scheduled_actor_hdr_t< flow::single< T > > | as_single () && |
template<class T > | |
flow::assert_scheduled_actor_hdr_t< flow::observable< T > > | as_observable () && |
template<class T = traits, class F = none_t, class OnError = none_t, class = std::enable_if_t<T::is_blocking>> | |
detail::is_handler_for_ef< OnError, error > | receive (F f, OnError g) |
template<class T = traits, class OnError = none_t, class F = none_t, class = std::enable_if_t<T::is_blocking>> | |
detail::is_handler_for_ef< OnError, error > | receive (OnError g, F f) |
template<class T = policy_type, class OnError = none_t, class F = none_t, class E = detail::is_handler_for_ef<OnError, error>, class = std::enable_if_t<T::is_trivial>> | |
void | receive (OnError g, catch_all< F > f) |
template<class T = policy_type, class = std::enable_if_t<T::is_trivial>> | |
message_id | id () const noexcept |
actor_type * | self () noexcept |
policy_type & | policy () noexcept |
This helper class identifies an expected response message and enables request(...).then(...)
.