From c365689250216861fd7727203ee6ba1049ad5778 Mon Sep 17 00:00:00 2001 From: Mauro Sardara Date: Wed, 3 Apr 2019 10:03:56 +0200 Subject: [HICN-155] Consumer socket allows now to read N bytes from the network, where N is defined by the application. Change-Id: Ib20309b40e43e4c0db09b9b484e18cd2e3ebf581 Signed-off-by: Mauro Sardara --- libtransport/src/hicn/transport/interfaces/socket_producer.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libtransport/src/hicn/transport/interfaces/socket_producer.h') diff --git a/libtransport/src/hicn/transport/interfaces/socket_producer.h b/libtransport/src/hicn/transport/interfaces/socket_producer.h index 6ba5671cc..200c32a95 100644 --- a/libtransport/src/hicn/transport/interfaces/socket_producer.h +++ b/libtransport/src/hicn/transport/interfaces/socket_producer.h @@ -30,6 +30,10 @@ #define REGISTRATION_FAILURE 2 #define REGISTRATION_IN_PROGRESS 3 +namespace utils { +class Identity; +} + namespace transport { namespace interface { @@ -59,7 +63,7 @@ class ProducerSocket : public Socket, void asyncProduce(const Name &suffix, const uint8_t *buf, size_t buffer_size); - void asyncProduce(const Name &suffix, ContentBuffer &&output_buffer); + void asyncProduce(const Name &suffix); void asyncProduce(ContentObject &content_object); -- cgit 1.2.3-korg