putchunks: respond to RDR discovery Interests
Change-Id: Id1039246304a3069f158aecf21724568db434958
refs: #4556
diff --git a/tools/chunks/putchunks/producer.hpp b/tools/chunks/putchunks/producer.hpp
index f498ec7..722e248 100644
--- a/tools/chunks/putchunks/producer.hpp
+++ b/tools/chunks/putchunks/producer.hpp
@@ -1,6 +1,6 @@
/* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
/*
- * Copyright (c) 2016-2017, Regents of the University of California,
+ * Copyright (c) 2016-2019, Regents of the University of California,
* Colorado State University,
* University Pierre & Marie Curie, Sorbonne University.
*
@@ -85,8 +85,17 @@
void
populateStore(std::istream& is);
+ /**
+ * @brief Respond with a metadata packet containing the versioned content name
+ */
void
- onInterest(const Interest& interest);
+ processDiscoveryInterest(const Interest& interest);
+
+ /**
+ * @brief Respond with the requested segment of content
+ */
+ void
+ processSegmentInterest(const Interest& interest);
void
onRegisterFailed(const Name& prefix, const std::string& reason);