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 | |
| typedef std::list< Block > | BlockSequence |
| using | Impl = StreamTransportWithResolverImpl< BaseTransport, Protocol > |
| typedef std::list< BlockSequence > | TransmissionQueue |
Public Member Functions | |
| StreamTransportWithResolverImpl (BaseTransport &transport, boost::asio::io_service &ioService) | |
| void | close () |
| void | connect (const typename Protocol::resolver::query &query) |
| void | connect (const typename Protocol::endpoint &endpoint) |
| void | pause () |
| void | resume () |
| void | send (const Block &wire) |
| void | send (const Block &header, const Block &payload) |
Protected Member Functions | |
| void | asyncReceive () |
| void | asyncWrite () |
| void | connectHandler (const boost::system::error_code &error) |
| void | connectTimeoutHandler (const boost::system::error_code &error) |
| void | handleAsyncReceive (const boost::system::error_code &error, std::size_t nBytesRecvd) |
| void | handleAsyncWrite (const boost::system::error_code &error, TransmissionQueue::iterator queueItem) |
| 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 > &) |
| void | send (BlockSequence &&sequence) |
Protected Attributes | |
| boost::asio::deadline_timer | m_connectTimer |
| uint8_t | m_inputBuffer [MAX_NDN_PACKET_SIZE] |
| size_t | m_inputBufferSize |
| bool | m_isConnecting |
| 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 45 of file stream-transport-impl.hpp.
| using ndn::detail::StreamTransportWithResolverImpl< BaseTransport, Protocol >::Impl = StreamTransportWithResolverImpl<BaseTransport,Protocol> |
Definition at line 37 of file stream-transport-with-resolver-impl.hpp.
|
inherited |
Definition at line 46 of file stream-transport-impl.hpp.
|
inline |
Definition at line 39 of file stream-transport-with-resolver-impl.hpp.
|
inlineprotectedinherited |
Definition at line 208 of file stream-transport-impl.hpp.
|
inlineprotectedinherited |
Definition at line 176 of file stream-transport-impl.hpp.
|
inlineinherited |
Definition at line 74 of file stream-transport-impl.hpp.
|
inline |
Definition at line 45 of file stream-transport-with-resolver-impl.hpp.
|
inlineinherited |
Definition at line 58 of file stream-transport-impl.hpp.
|
inlineprotectedinherited |
Definition at line 132 of file stream-transport-impl.hpp.
|
inlineprotectedinherited |
Definition at line 153 of file stream-transport-impl.hpp.
|
inlineprotectedinherited |
Definition at line 216 of file stream-transport-impl.hpp.
|
inlineprotectedinherited |
Definition at line 184 of file stream-transport-impl.hpp.
|
inlineinherited |
Definition at line 89 of file stream-transport-impl.hpp.
|
inlineprotectedinherited |
Definition at line 254 of file stream-transport-impl.hpp.
|
inlineprotected |
Definition at line 64 of file stream-transport-with-resolver-impl.hpp.
|
inlineinherited |
Definition at line 101 of file stream-transport-impl.hpp.
|
inlineinherited |
Definition at line 114 of file stream-transport-impl.hpp.
|
inlineinherited |
Definition at line 122 of file stream-transport-impl.hpp.
|
inlineprotectedinherited |
Definition at line 163 of file stream-transport-impl.hpp.
|
protectedinherited |
Definition at line 279 of file stream-transport-impl.hpp.
|
protectedinherited |
Definition at line 273 of file stream-transport-impl.hpp.
|
protectedinherited |
Definition at line 274 of file stream-transport-impl.hpp.
|
protectedinherited |
Definition at line 277 of file stream-transport-impl.hpp.
|
protectedinherited |
Definition at line 272 of file stream-transport-impl.hpp.
|
protectedinherited |
Definition at line 276 of file stream-transport-impl.hpp.
|
protectedinherited |
Definition at line 270 of file stream-transport-impl.hpp.