BitShares-Core  5.0.0
BitShares blockchain implementation and command-line interface software
Public Member Functions | Public Attributes | List of all members
fc::detail::rate_limited_operation Class Referenceabstract
Inheritance diagram for fc::detail::rate_limited_operation:
fc::detail::rate_limited_tcp_read_operation fc::detail::rate_limited_tcp_write_operation

Public Member Functions

 rate_limited_operation (size_t length, size_t offset, promise< size_t >::ptr &&completion_promise)
 
virtual void perform_operation ()=0
 

Public Attributes

size_t length
 
size_t offset
 
size_t permitted_length
 
promise< size_t >::ptr completion_promise
 

Detailed Description

Definition at line 20 of file rate_limiting.cpp.

Constructor & Destructor Documentation

fc::detail::rate_limited_operation::rate_limited_operation ( size_t  length,
size_t  offset,
promise< size_t >::ptr &&  completion_promise 
)
inline

Definition at line 28 of file rate_limiting.cpp.

Member Function Documentation

virtual void fc::detail::rate_limited_operation::perform_operation ( )
pure virtual

Member Data Documentation

promise<size_t>::ptr fc::detail::rate_limited_operation::completion_promise

Definition at line 26 of file rate_limiting.cpp.

size_t fc::detail::rate_limited_operation::length

Definition at line 23 of file rate_limiting.cpp.

size_t fc::detail::rate_limited_operation::offset

Definition at line 24 of file rate_limiting.cpp.

size_t fc::detail::rate_limited_operation::permitted_length

Definition at line 25 of file rate_limiting.cpp.


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