|
| impl () |
|
| ~impl () |
|
virtual size_t | readsome (boost::asio::ip::tcp::socket &socket, char *buffer, size_t length) override |
|
virtual size_t | readsome (boost::asio::ip::tcp::socket &socket, const std::shared_ptr< char > &buffer, size_t length, size_t offset) override |
|
virtual size_t | writesome (boost::asio::ip::tcp::socket &socket, const char *buffer, size_t length) override |
|
virtual size_t | writesome (boost::asio::ip::tcp::socket &socket, const std::shared_ptr< const char > &buffer, size_t length, size_t offset) override |
|
Definition at line 22 of file tcp_socket.cpp.
◆ impl()
fc::tcp_socket::impl::impl |
( |
| ) |
|
|
inline |
Definition at line 24 of file tcp_socket.cpp.
24 :
25 _sock(fc::asio::default_io_service()),
27 {}
boost::asio::ip::tcp::socket _sock
tcp_socket_io_hooks * _io_hooks
◆ ~impl()
fc::tcp_socket::impl::~impl |
( |
| ) |
|
|
inline |
Definition at line 28 of file tcp_socket.cpp.
29 {
31 try
32 {
34 }
35 catch( ... )
36 {}
38 try
39 {
41 }
42 catch ( ... )
43 {
44 }
46 try
47 {
49 }
50 catch ( ... )
51 {
52 }
53 }
future< size_t > _write_in_progress
future< size_t > _read_in_progress
◆ readsome() [1/2]
size_t fc::tcp_socket::impl::readsome |
( |
boost::asio::ip::tcp::socket & | socket, |
|
|
char * | buffer, |
|
|
size_t | length ) |
|
overridevirtual |
◆ readsome() [2/2]
size_t fc::tcp_socket::impl::readsome |
( |
boost::asio::ip::tcp::socket & | socket, |
|
|
const std::shared_ptr< char > & | buffer, |
|
|
size_t | length, |
|
|
size_t | offset ) |
|
overridevirtual |
◆ writesome() [1/2]
size_t fc::tcp_socket::impl::writesome |
( |
boost::asio::ip::tcp::socket & | socket, |
|
|
const char * | buffer, |
|
|
size_t | length ) |
|
overridevirtual |
◆ writesome() [2/2]
size_t fc::tcp_socket::impl::writesome |
( |
boost::asio::ip::tcp::socket & | socket, |
|
|
const std::shared_ptr< const char > & | buffer, |
|
|
size_t | length, |
|
|
size_t | offset ) |
|
overridevirtual |
◆ _io_hooks
tcp_socket_io_hooks* fc::tcp_socket::impl::_io_hooks |
◆ _read_in_progress
future<size_t> fc::tcp_socket::impl::_read_in_progress |
◆ _sock
boost::asio::ip::tcp::socket fc::tcp_socket::impl::_sock |
◆ _write_in_progress
future<size_t> fc::tcp_socket::impl::_write_in_progress |
The documentation for this class was generated from the following file: