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

Public Member Functions

void set_task_info (dsn_task_t t)
 
dsn_task_t native_handle () const
 
virtual bool cancel (bool wait_until_finished, bool *finished=nullptr)
 
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
 

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