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

◆ ~tcp_socket_io_hooks()

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

◆ readsome() [1/2]

virtual size_t fc::tcp_socket_io_hooks::readsome ( boost::asio::ip::tcp::socket &  socket,
char *  buffer,
size_t  length 
)
pure virtual

◆ readsome() [2/2]

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

◆ writesome() [1/2]

virtual size_t fc::tcp_socket_io_hooks::writesome ( boost::asio::ip::tcp::socket &  socket,
const char *  buffer,
size_t  length 
)
pure virtual

◆ writesome() [2/2]

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: