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>
Inheritance diagram for ndn::detail::StreamTransportWithResolverImpl< BaseTransport, Protocol >:
Collaboration diagram for ndn::detail::StreamTransportWithResolverImpl< BaseTransport, Protocol >:Public Types | |
| using | TransmissionQueue = std::queue< Block, std::list< Block > > |
Public Member Functions | |
| StreamTransportWithResolverImpl (BaseTransport &transport, boost::asio::io_service &ioService) | |
| void | close () |
| void | connect (const typename Protocol::endpoint &endpoint) |
| void | connect (const typename Protocol::resolver::query &query) |
| void | pause () |
| void | resume () |
| void | send (const Block &block) |
Protected Member Functions | |
| void | asyncReceive () |
| void | asyncWrite () |
| void | connectHandler (const boost::system::error_code &error) |
| void | connectTimeoutHandler (const boost::system::error_code &error) |
| bool | processAllReceived (uint8_t *buffer, size_t &offset, size_t nBytesAvailable) |
| void | resolveHandler (const boost::system::error_code &error, typename Protocol::resolver::iterator endpoint, const shared_ptr< typename Protocol::resolver > &) |
Protected Attributes | |
| boost::asio::steady_timer | m_connectTimer |
| uint8_t | m_inputBuffer [MAX_NDN_PACKET_SIZE] |
| size_t | m_inputBufferSize = 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.
|
inherited |
Definition at line 46 of file stream-transport-impl.hpp.
|
inline |
Definition at line 37 of file stream-transport-with-resolver-impl.hpp.
|
inlineprotectedinherited |
Definition at line 181 of file stream-transport-impl.hpp.
|
inlineprotectedinherited |
Definition at line 152 of file stream-transport-impl.hpp.
|
inlineinherited |
Definition at line 77 of file stream-transport-impl.hpp.
|
inlineinherited |
Definition at line 56 of file stream-transport-impl.hpp.
|
inline |
Definition at line 43 of file stream-transport-with-resolver-impl.hpp.
|
inlineprotectedinherited |
Definition at line 124 of file stream-transport-impl.hpp.
|
inlineprotectedinherited |
Definition at line 142 of file stream-transport-impl.hpp.
|
inlineinherited |
Definition at line 90 of file stream-transport-impl.hpp.
|
inlineprotectedinherited |
Definition at line 221 of file stream-transport-impl.hpp.
|
inlineprotected |
Definition at line 71 of file stream-transport-with-resolver-impl.hpp.
|
inlineinherited |
Definition at line 99 of file stream-transport-impl.hpp.
|
inlineinherited |
Definition at line 109 of file stream-transport-impl.hpp.
|
protectedinherited |
Definition at line 243 of file stream-transport-impl.hpp.
|
protectedinherited |
Definition at line 240 of file stream-transport-impl.hpp.
|
protectedinherited |
Definition at line 241 of file stream-transport-impl.hpp.
|
protectedinherited |
Definition at line 239 of file stream-transport-impl.hpp.
|
protectedinherited |
Definition at line 242 of file stream-transport-impl.hpp.
|
protectedinherited |
Definition at line 237 of file stream-transport-impl.hpp.