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_tcp_read_operation Class Reference
Inheritance diagram for fc::detail::rate_limited_tcp_read_operation:
fc::detail::rate_limited_operation

Public Member Functions

 rate_limited_tcp_read_operation (boost::asio::ip::tcp::socket &socket, char *buffer, size_t length, size_t offset, promise< size_t >::ptr completion_promise)
 
 rate_limited_tcp_read_operation (boost::asio::ip::tcp::socket &socket, const std::shared_ptr< char > &buffer, size_t length, size_t offset, promise< size_t >::ptr completion_promise)
 
virtual void perform_operation () override
 
- Public Member Functions inherited from fc::detail::rate_limited_operation
 rate_limited_operation (size_t length, size_t offset, promise< size_t >::ptr &&completion_promise)
 

Public Attributes

boost::asio::ip::tcp::socket & socket
 
char * raw_buffer
 
std::shared_ptr< char > shared_buffer
 
- Public Attributes inherited from fc::detail::rate_limited_operation
size_t length
 
size_t offset
 
size_t permitted_length
 
promise< size_t >::ptr completion_promise
 

Detailed Description

Definition at line 81 of file rate_limiting.cpp.

Constructor & Destructor Documentation

fc::detail::rate_limited_tcp_read_operation::rate_limited_tcp_read_operation ( boost::asio::ip::tcp::socket &  socket,
char *  buffer,
size_t  length,
size_t  offset,
promise< size_t >::ptr  completion_promise 
)
inline

Definition at line 88 of file rate_limiting.cpp.

fc::detail::rate_limited_tcp_read_operation::rate_limited_tcp_read_operation ( boost::asio::ip::tcp::socket &  socket,
const std::shared_ptr< char > &  buffer,
size_t  length,
size_t  offset,
promise< size_t >::ptr  completion_promise 
)
inline

Definition at line 97 of file rate_limiting.cpp.

Member Function Documentation

virtual void fc::detail::rate_limited_tcp_read_operation::perform_operation ( )
inlineoverridevirtual

Implements fc::detail::rate_limited_operation.

Definition at line 107 of file rate_limiting.cpp.

Member Data Documentation

char* fc::detail::rate_limited_tcp_read_operation::raw_buffer

Definition at line 85 of file rate_limiting.cpp.

std::shared_ptr<char> fc::detail::rate_limited_tcp_read_operation::shared_buffer

Definition at line 86 of file rate_limiting.cpp.

boost::asio::ip::tcp::socket& fc::detail::rate_limited_tcp_read_operation::socket

Definition at line 84 of file rate_limiting.cpp.


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