#include <registered-prefix.hpp>
Definition at line 16 of file registered-prefix.hpp.
| ndn::RegisteredPrefix::RegisteredPrefix |
( |
const Name & |
prefix, |
|
|
const OnInterest & |
onInterest |
|
) |
| |
|
inline |
Create a new PrefixEntry.
- Parameters
-
| prefix | A shared_ptr for the prefix. |
| onInterest | A function object to call when a matching data packet is received. |
Definition at line 26 of file registered-prefix.hpp.
| const OnInterest& ndn::RegisteredPrefix::getOnInterest |
( |
| ) |
const |
|
inline |
| const Name& ndn::RegisteredPrefix::getPrefix |
( |
| ) |
const |
|
inline |