

Public Member Functions | |
| void | receive (const Block &block) |
| virtual void | close () |
| Close the connection. More... | |
| virtual void | pause () |
| virtual void | resume () |
| virtual void | send (const Block &wire) |
| Send block of data from. More... | |
| virtual void | send (const Block &header, const Block &payload) |
| Alternative version of sending data, applying scatter/gather I/O concept. More... | |
| boost::asio::io_service & | getIoService () |
Public Member Functions inherited from ndn::Transport | |
| Transport () | |
| virtual | ~Transport () |
| virtual void | connect (boost::asio::io_service &io_service, const ReceiveCallback &receiveCallback) |
| Connect transport. More... | |
| bool | isConnected () |
| bool | isExpectingData () |
Public Attributes | |
| Signal< Transport, Block > | onSendBlock |
Additional Inherited Members | |
Public Types inherited from ndn::Transport | |
| typedef function< void(const Block &wire)> | ReceiveCallback |
| typedef function< void()> | ErrorCallback |
Protected Member Functions inherited from ndn::Transport | |
| void | receive (const Block &wire) |
Protected Attributes inherited from ndn::Transport | |
| boost::asio::io_service * | m_ioService |
| bool | m_isConnected |
| bool | m_isExpectingData |
| ReceiveCallback | m_receiveCallback |
Definition at line 32 of file dummy-client-face.cpp.
|
inline |
Definition at line 36 of file dummy-client-face.cpp.
References ndn::Transport::m_receiveCallback.
|
inlinevirtual |
Close the connection.
Implements ndn::Transport.
Definition at line 43 of file dummy-client-face.cpp.
|
inlinevirtual |
Implements ndn::Transport.
Definition at line 48 of file dummy-client-face.cpp.
|
inlinevirtual |
Implements ndn::Transport.
Definition at line 53 of file dummy-client-face.cpp.
|
inlinevirtual |
Send block of data from.
| wire | through the transport |
| wire | A block of data to send |
Implements ndn::Transport.
Definition at line 58 of file dummy-client-face.cpp.
References onSendBlock.
Referenced by send().
|
inlinevirtual |
Alternative version of sending data, applying scatter/gather I/O concept.
Two non-consecutive memory blocks will be send out together, e.g., as part of the same message in datagram-oriented transports.
Implements ndn::Transport.
Definition at line 64 of file dummy-client-face.cpp.
References ndn::encoding::Encoder::appendByteArray(), send(), ndn::Block::size(), and ndn::Block::wire().
|
inline |
Definition at line 74 of file dummy-client-face.cpp.
References ndn::Transport::m_ioService.
Definition at line 80 of file dummy-client-face.cpp.
Referenced by send().