BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet 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

◆ rate_limited_operation()

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

◆ perform_operation()

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

Member Data Documentation

◆ completion_promise

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

Definition at line 26 of file rate_limiting.cpp.

◆ length

size_t fc::detail::rate_limited_operation::length

Definition at line 23 of file rate_limiting.cpp.

◆ offset

size_t fc::detail::rate_limited_operation::offset

Definition at line 24 of file rate_limiting.cpp.

◆ permitted_length

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: