Consumer of RDR metadata packet.
More...
#include <rdr.hpp>
Inherits ndnph::PacketHandler.
|
Protected Member Functions inherited from ndnph::PacketHandler |
virtual | ~PacketHandler () |
| Remove handler from Face. More...
|
|
Face * | getFace () const |
|
const PacketInfo * | getCurrentPacketInfo () const |
| Retrieve information about current processing packet. More...
|
|
template<typename Packet > |
bool | send (Region ®ion, const Packet &packet, PacketInfo pi={}) |
| Synchronously transmit a packet. More...
|
|
template<typename Packet , typename... PacketInfoModifier> |
bool | send (Region ®ion, const Packet &packet, const PacketInfoModifier &... pim) |
| Synchronously transmit a packet. More...
|
|
template<typename Packet , typename... Arg, typename = typename std::enable_if< !std::is_base_of<Region, typename std::decay<Packet>::type>::value>::type> |
bool | send (const Packet &packet, Arg &&... arg) |
| Synchronously transmit a packet. More...
|
|
template<typename... Arg> |
bool | reply (Arg &&... arg) |
| Synchronously transmit a packet in reply to current processing packet. More...
|
|
◆ Callback
◆ RdrMetadataConsumer() [1/2]
ndnph::rdr::RdrMetadataConsumer::RdrMetadataConsumer |
( |
Face & |
face, |
|
|
const Options & |
opts |
|
) |
| |
|
inlineexplicit |
◆ RdrMetadataConsumer() [2/2]
ndnph::rdr::RdrMetadataConsumer::RdrMetadataConsumer |
( |
Face & |
face | ) |
|
|
inlineexplicit |
◆ start()
void ndnph::rdr::RdrMetadataConsumer::start |
( |
Name |
rdrPrefix, |
|
|
Callback |
cb, |
|
|
void * |
ctx = nullptr |
|
) |
| |
|
inline |
The documentation for this class was generated from the following file:
- /home/runner/work/esp8266ndn/NDNph/src/ndnph/app/rdr.hpp