diff options
author | Mauro Sardara <msardara@cisco.com> | 2019-02-20 14:32:42 +0100 |
---|---|---|
committer | Mauro Sardara <msardara@cisco.com> | 2019-03-05 11:42:39 +0100 |
commit | 9d0002e5cb97d939f2f74ab1e635b616d634e7db (patch) | |
tree | 730e4240a637264f859b3b7efeeb8fb83d476f3d /libtransport/src/hicn/transport/core/content_object.h | |
parent | 6d7704c1b497341fd6dd3c27e3f64d0db062ccc2 (diff) |
[HICN-73] Performance improvements of interest/data transmission and reception at low level in the stack (portal.h)
Change-Id: I1525726f52040f1609e284bb9b995ea8794c5d5e
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 | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libtransport/src/hicn/transport/core/content_object.h b/libtransport/src/hicn/transport/core/content_object.h index 8770e8cb4..fd531e8bc 100644 --- a/libtransport/src/hicn/transport/core/content_object.h +++ b/libtransport/src/hicn/transport/core/content_object.h @@ -46,13 +46,15 @@ class ContentObject : public Packet { ~ContentObject() override; + void replace(MemBufPtr &&buffer) override; + const Name &getName() const override; Name &getWritableName() override; - ContentObject &setName(const Name &name); + void setName(const Name &name) override; - void setName(Name &&name); + void setName(Name &&name) override; uint32_t getPathLabel() const; |