diff options
author | Mauro Sardara <msardara@cisco.com> | 2019-03-21 11:01:39 +0100 |
---|---|---|
committer | Mauro Sardara <msardara@cisco.com> | 2019-03-21 11:09:34 +0100 |
commit | d35f9469120c2eb4062fb19050ebd2e0d5e7b0f8 (patch) | |
tree | d7080509d742ebf93029dd1a276c041059ff2067 /libtransport/src/hicn/transport/core/content_object.h | |
parent | 972ccbeb3d6765c2add13b7b4da10c9fb6fb2c9c (diff) |
[HICN-135] Fix setLifetime function.
Change-Id: Ic0423407082e0909584a793f266e5b5fb4fc71b4
Signed-off-by: Mauro Sardara <msardara@cisco.com>
Diffstat (limited to 'libtransport/src/hicn/transport/core/content_object.h')
-rw-r--r-- | libtransport/src/hicn/transport/core/content_object.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libtransport/src/hicn/transport/core/content_object.h b/libtransport/src/hicn/transport/core/content_object.h index fd531e8bc..5af548fe4 100644 --- a/libtransport/src/hicn/transport/core/content_object.h +++ b/libtransport/src/hicn/transport/core/content_object.h @@ -64,6 +64,10 @@ class ContentObject : public Packet { ip_address_t getLocator() const override; + void setLifetime(uint32_t lifetime) override; + + uint32_t getLifetime() const override; + private: void resetForHash() override; }; |