Robust Distributed System Nucleus (rDSN)  ver 1.0.0
Public Member Functions | Static Public Member Functions | List of all members
dsn::timer_safe_task< THandler > Class Template Reference
Inheritance diagram for dsn::timer_safe_task< THandler >:
dsn::safe_task_handle

Public Member Functions

 timer_safe_task (THandler &&h)
 
 timer_safe_task (const THandler &h)
 
virtual bool cancel (bool wait_until_finished, bool *finished=nullptr) override
 
- Public Member Functions inherited from dsn::safe_task_handle
void set_task_info (dsn_task_t t)
 
dsn_task_t native_handle () const
 
void set_delay (int delay_ms)
 
void wait () const
 
bool wait (int timeout_millieseconds) const
 
::dsn::error_code error () const
 
size_t io_size () const
 
void enqueue (std::chrono::milliseconds delay=std::chrono::milliseconds(0)) const
 
void enqueue_aio (error_code err, size_t size) const
 
dsn_message_t response ()
 
void enqueue_rpc_response (error_code err, dsn_message_t resp) const
 

Static Public Member Functions

static void on_cancel (void *task)
 
static void exec_timer (void *task)
 

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