#include <stream-transport.hpp>
Public Types | |
typedef StreamTransportWithResolverImpl< BaseTransport, Protocol > | Impl |
Public Types inherited from ndn::StreamTransportImpl< BaseTransport, Protocol > | |
typedef StreamTransportImpl< BaseTransport, Protocol > | Impl |
typedef std::list< Block > | BlockSequence |
typedef std::list< BlockSequence > | TransmissionQueue |
Public Member Functions | |
StreamTransportWithResolverImpl (BaseTransport &transport, boost::asio::io_service &ioService) | |
void | resolveHandler (const boost::system::error_code &error, typename Protocol::resolver::iterator endpoint, const shared_ptr< typename Protocol::resolver > &) |
void | connect (const typename Protocol::resolver::query &query) |
Public Member Functions inherited from ndn::StreamTransportImpl< BaseTransport, Protocol > | |
StreamTransportImpl (BaseTransport &transport, boost::asio::io_service &ioService) | |
void | connectHandler (const boost::system::error_code &error) |
void | connectTimeoutHandler (const boost::system::error_code &error) |
void | connect (const typename Protocol::endpoint &endpoint) |
void | close () |
void | pause () |
void | resume () |
void | send (const Block &wire) |
void | send (const Block &header, const Block &payload) |
void | handleAsyncWrite (const boost::system::error_code &error, TransmissionQueue::iterator queueItem) |
bool | processAll (uint8_t *buffer, size_t &offset, size_t nBytesAvailable) |
void | handleAsyncReceive (const boost::system::error_code &error, std::size_t nBytesRecvd) |
Additional Inherited Members | |
Protected Attributes inherited from ndn::StreamTransportImpl< BaseTransport, Protocol > | |
BaseTransport & | m_transport |
Protocol::socket | m_socket |
uint8_t | m_inputBuffer [MAX_NDN_PACKET_SIZE] |
size_t | m_inputBufferSize |
TransmissionQueue | m_transmissionQueue |
bool | m_connectionInProgress |
boost::asio::deadline_timer | m_connectTimer |
Definition at line 288 of file stream-transport.hpp.
typedef StreamTransportWithResolverImpl<BaseTransport,Protocol> ndn::StreamTransportWithResolverImpl< BaseTransport, Protocol >::Impl |
Definition at line 291 of file stream-transport.hpp.
|
inline |
Definition at line 293 of file stream-transport.hpp.
|
inline |
|
inline |
Definition at line 323 of file stream-transport.hpp.
References ndn::StreamTransportImpl< BaseTransport, Protocol >::connectTimeoutHandler(), ndn::StreamTransportImpl< BaseTransport, Protocol >::m_connectionInProgress, ndn::StreamTransportImpl< BaseTransport, Protocol >::m_connectTimer, and ndn::StreamTransportImpl< BaseTransport, Protocol >::m_socket.