management: mark Controller methods deprecated
This commit adds DEPRECATED attribute to the following items:
* Controller::start overloads, except the overload taking CommandOptions
* Controller::Sign typedef
* Controller::getDefaultCommandTimeout
* ControlCommand::getPrefix
* ControlCommand::getRequestName(ControlParameters)
* Controller::Controller(Face&)
refs #2039
Change-Id: Ib6cc81711948fa9874fe350364cd8d8613013e0d
diff --git a/src/management/nfd-controller.cpp b/src/management/nfd-controller.cpp
index 1517522..90cd454 100644
--- a/src/management/nfd-controller.cpp
+++ b/src/management/nfd-controller.cpp
@@ -84,7 +84,7 @@
{
BOOST_ASSERT(timeout > time::milliseconds::zero());
- Name requestName = command->getRequestName(parameters);
+ Name requestName = command->getRequestName(CommandOptions::DEFAULT_PREFIX, parameters);
Interest interest(requestName);
interest.setInterestLifetime(timeout);
sign(interest);