BitShares-Core  5.0.0
BitShares blockchain implementation and command-line interface software
Public Member Functions | List of all members
fc::tcp_socket_io_hooks Class Referenceabstract

#include <tcp_socket_io_hooks.hpp>

Inheritance diagram for fc::tcp_socket_io_hooks:
fc::detail::rate_limiting_group_impl fc::tcp_socket::impl

Public Member Functions

virtual ~tcp_socket_io_hooks ()
 
virtual size_t readsome (boost::asio::ip::tcp::socket &socket, char *buffer, size_t length)=0
 
virtual size_t readsome (boost::asio::ip::tcp::socket &socket, const std::shared_ptr< char > &buffer, size_t length, size_t offset)=0
 
virtual size_t writesome (boost::asio::ip::tcp::socket &socket, const char *buffer, size_t length)=0
 
virtual size_t writesome (boost::asio::ip::tcp::socket &socket, const std::shared_ptr< const char > &buffer, size_t length, size_t offset)=0
 

Detailed Description

Definition at line 6 of file tcp_socket_io_hooks.hpp.

Constructor & Destructor Documentation

virtual fc::tcp_socket_io_hooks::~tcp_socket_io_hooks ( )
inlinevirtual

Definition at line 9 of file tcp_socket_io_hooks.hpp.

Member Function Documentation

virtual size_t fc::tcp_socket_io_hooks::readsome ( boost::asio::ip::tcp::socket &  socket,
char *  buffer,
size_t  length 
)
pure virtual
virtual size_t fc::tcp_socket_io_hooks::readsome ( boost::asio::ip::tcp::socket &  socket,
const std::shared_ptr< char > &  buffer,
size_t  length,
size_t  offset 
)
pure virtual
virtual size_t fc::tcp_socket_io_hooks::writesome ( boost::asio::ip::tcp::socket &  socket,
const char *  buffer,
size_t  length 
)
pure virtual
virtual size_t fc::tcp_socket_io_hooks::writesome ( boost::asio::ip::tcp::socket &  socket,
const std::shared_ptr< const char > &  buffer,
size_t  length,
size_t  offset 
)
pure virtual

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