rotor
Event loop friendly C++ actor micro-framework
 
Loading...
Searching...
No Matches
rotor::request_builder_t< T > Struct Template Reference

builder pattern implementation for the original request More...

#include <request.hpp>

Public Member Functions

template<typename... Args>
 request_builder_t (supervisor_t &sup_, actor_base_t &actor_, const address_ptr_t &destination_, const address_ptr_t &reply_to_, Args &&...args)
 constructs request message but still does not dispatch it
 
request_id_t send (const pt::time_duration &send) noexcept
 actually dispatches requests and spawns timeout timer
 

Detailed Description

template<typename T>
struct rotor::request_builder_t< T >

builder pattern implementation for the original request

Member Function Documentation

◆ send()

template<typename T >
request_id_t rotor::request_builder_t< T >::send ( const pt::time_duration &  send)
noexcept

actually dispatches requests and spawns timeout timer

The request id of the dispatched request is returned


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