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

Public Member Functions

 rate_limited_tcp_write_operation (boost::asio::ip::tcp::socket &socket, const char *buffer, size_t length, size_t offset, promise< size_t >::ptr completion_promise)
 
 rate_limited_tcp_write_operation (boost::asio::ip::tcp::socket &socket, const std::shared_ptr< const 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
 
const char * raw_buffer
 
std::shared_ptr< const 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 40 of file rate_limiting.cpp.

Constructor & Destructor Documentation

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

Definition at line 47 of file rate_limiting.cpp.

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

Definition at line 58 of file rate_limiting.cpp.

Member Function Documentation

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

Implements fc::detail::rate_limited_operation.

Definition at line 68 of file rate_limiting.cpp.

Member Data Documentation

const char* fc::detail::rate_limited_tcp_write_operation::raw_buffer

Definition at line 44 of file rate_limiting.cpp.

std::shared_ptr<const char> fc::detail::rate_limited_tcp_write_operation::shared_buffer

Definition at line 45 of file rate_limiting.cpp.

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

Definition at line 43 of file rate_limiting.cpp.


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