#include <stream-transport.hpp>
Public Types | |
| typedef BaseTransport | base_transport |
| typedef Protocol | protocol |
| typedef StreamTransportImpl < BaseTransport, Protocol > | impl |
Public Member Functions | |
| StreamTransportImpl (base_transport &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) |
| bool | processAll (uint8_t *buffer, size_t &offset, size_t availableSize) |
| void | handle_async_receive (const boost::system::error_code &error, std::size_t bytes_recvd) |
| void | handle_async_send (const boost::system::error_code &error, const Block &wire) |
| void | handle_async_send (const boost::system::error_code &error, const Block &header, const Block &payload) |
Protected Attributes | |
| base_transport & | m_transport |
| protocol::socket | m_socket |
| uint8_t | m_inputBuffer [MAX_LENGTH] |
| size_t | m_inputBufferSize |
| std::list< Block > | m_sendQueue |
| std::list< std::pair< Block, Block > > | m_sendPairQueue |
| bool | m_connectionInProgress |
| boost::asio::deadline_timer | m_connectTimer |
Definition at line 17 of file stream-transport.hpp.
| typedef BaseTransport ndn::StreamTransportImpl< BaseTransport, Protocol >::base_transport |
Definition at line 20 of file stream-transport.hpp.
| typedef StreamTransportImpl<BaseTransport,Protocol> ndn::StreamTransportImpl< BaseTransport, Protocol >::impl |
Definition at line 22 of file stream-transport.hpp.
| typedef Protocol ndn::StreamTransportImpl< BaseTransport, Protocol >::protocol |
Definition at line 21 of file stream-transport.hpp.
|
inline |
Definition at line 24 of file stream-transport.hpp.
|
inline |
Definition at line 102 of file stream-transport.hpp.
|
inline |
Definition at line 85 of file stream-transport.hpp.
|
inline |
Definition at line 34 of file stream-transport.hpp.
|
inline |
Definition at line 72 of file stream-transport.hpp.
|
inline |
Definition at line 180 of file stream-transport.hpp.
|
inline |
Definition at line 229 of file stream-transport.hpp.
|
inline |
Definition at line 235 of file stream-transport.hpp.
|
inline |
Definition at line 113 of file stream-transport.hpp.
|
inline |
Definition at line 164 of file stream-transport.hpp.
|
inline |
Definition at line 123 of file stream-transport.hpp.
|
inline |
Definition at line 135 of file stream-transport.hpp.
|
inline |
Definition at line 145 of file stream-transport.hpp.
|
protected |
Definition at line 250 of file stream-transport.hpp.
|
protected |
Definition at line 252 of file stream-transport.hpp.
|
protected |
Definition at line 245 of file stream-transport.hpp.
|
protected |
Definition at line 246 of file stream-transport.hpp.
|
protected |
Definition at line 249 of file stream-transport.hpp.
|
protected |
Definition at line 248 of file stream-transport.hpp.
|
protected |
Definition at line 244 of file stream-transport.hpp.
|
protected |
Definition at line 242 of file stream-transport.hpp.