Implementation detail of a Boost.Asio-based stream-oriented transport with resolver support. More...
#include <ndn-cxx/transport/detail/stream-transport-with-resolver-impl.hpp>
Public Member Functions | |
StreamTransportWithResolverImpl (BaseTransport &transport, boost::asio::io_context &ioCtx) | |
void | close () |
void | connect (const typename Protocol::endpoint &endpoint) |
void | connect (std::string_view host, std::string_view port) |
void | pause () |
void | resume () |
void | send (const Block &block) |
Protected Types | |
using | TransmissionQueue = std::queue< Block, std::list< Block > > |
Protected Member Functions | |
void | asyncReceive () |
void | asyncWrite () |
void | connectHandler (const boost::system::error_code &error) |
void | resolveHandler (const std::string &hostAndPort, const boost::system::error_code &error, const typename Protocol::resolver::results_type &endpoints) |
Protected Attributes | |
boost::asio::steady_timer | m_connectTimer |
Protocol::endpoint | m_endpoint |
std::array< uint8_t, MAX_NDN_PACKET_SIZE > | m_rxBuffer |
size_t | m_rxBufferSize = 0 |
Protocol::socket | m_socket |
TransmissionQueue | m_transmissionQueue |
BaseTransport & | m_transport |
Implementation detail of a Boost.Asio-based stream-oriented transport with resolver support.
Definition at line 34 of file stream-transport-with-resolver-impl.hpp.
|
protectedinherited |
Definition at line 47 of file stream-transport-impl.hpp.
|
inline |
Definition at line 37 of file stream-transport-with-resolver-impl.hpp.
|
inlineprotectedinherited |
Definition at line 185 of file stream-transport-impl.hpp.
|
inlineprotectedinherited |
Definition at line 156 of file stream-transport-impl.hpp.
|
inlineinherited |
Definition at line 86 of file stream-transport-impl.hpp.
|
inlineinherited |
Definition at line 58 of file stream-transport-impl.hpp.
|
inline |
Definition at line 43 of file stream-transport-with-resolver-impl.hpp.
|
inlineprotectedinherited |
Definition at line 133 of file stream-transport-impl.hpp.
|
inlineinherited |
Definition at line 99 of file stream-transport-impl.hpp.
|
inlineprotected |
Definition at line 73 of file stream-transport-with-resolver-impl.hpp.
|
inlineinherited |
Definition at line 108 of file stream-transport-impl.hpp.
|
inlineinherited |
Definition at line 118 of file stream-transport-impl.hpp.
|
protectedinherited |
Definition at line 233 of file stream-transport-impl.hpp.
|
protectedinherited |
Definition at line 231 of file stream-transport-impl.hpp.
|
protectedinherited |
Definition at line 236 of file stream-transport-impl.hpp.
|
protectedinherited |
Definition at line 235 of file stream-transport-impl.hpp.
|
protectedinherited |
Definition at line 232 of file stream-transport-impl.hpp.
|
protectedinherited |
Definition at line 234 of file stream-transport-impl.hpp.
|
protectedinherited |
Definition at line 230 of file stream-transport-impl.hpp.