|
| T | get (const char *key, Region ®ion) |
| | Retrieve a packet.
|
| |
| template<typename Encodable > |
| bool | set (const char *key, Encodable value, Region ®ion) |
| | Store a packet.
|
| |
| | KvStore ()=default |
| | Constructor to use internal FileStore instance.
|
| |
| | KvStore (port::FileStore &fs) |
| | Constructor to use existing FileStore instance.
|
| |
| | KvStore ()=default |
| | Constructor to use internal FileStore instance.
|
| |
| | KvStore (port::FileStore &fs) |
| | Constructor to use existing FileStore instance.
|
| |
| template<typename... Arg> |
| bool | open (Arg &&... arg) |
| | Open the FileStore backend.
|
| |
| tlv::Value | get (const char *key, Region ®ion) |
| | Retrieve a value.
|
| |
| bool | set (const char *key, tlv::Value value) |
| | Store a value.
|
| |
| bool | del (const char *key) |
| | Delete a key.
|
| |
template<typename T>
class ndnph::PacketStore< T >
File based packet store.
- Template Parameters
-
| T | packet type, which must be default-constructible and decodable. |