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-control-command.hpp b/src/management/nfd-control-command.hpp
index e226486..9c1d2ea 100644
--- a/src/management/nfd-control-command.hpp
+++ b/src/management/nfd-control-command.hpp
@@ -79,15 +79,17 @@
/** \return Name prefix of this ControlCommand
* \deprecated use getRequestName
*/
+ DEPRECATED(
const Name&
- getPrefix() const;
+ getPrefix() const);
/** \brief construct the Name for a request Interest
* \throw ArgumentError if parameters are invalid
* \deprecated use the two-argument overload
*/
+ DEPRECATED(
Name
- getRequestName(const ControlParameters& parameters) const;
+ getRequestName(const ControlParameters& parameters) const);
protected:
ControlCommand(const std::string& module, const std::string& verb);