22 #ifndef NDN_CXX_MGMT_NFD_COMMAND_OPTIONS_HPP
23 #define NDN_CXX_MGMT_NFD_COMMAND_OPTIONS_HPP
Represents an absolute name.
Contains options for ControlCommand execution.
static const time::milliseconds DEFAULT_TIMEOUT
The default command timeout: 10 seconds.
CommandOptions & setPrefix(const Name &prefix)
Sets the command prefix.
CommandOptions & setTimeout(const time::milliseconds &timeout)
Sets the command timeout.
const Name & getPrefix() const
Returns the command prefix.
time::milliseconds getTimeout() const
Returns the command timeout.
const security::SigningInfo & getSigningInfo() const
Returns the signing parameters.
static const Name DEFAULT_PREFIX
The default command prefix: /localhost/nfd.
CommandOptions()
Constructs CommandOptions.
CommandOptions & setSigningInfo(const security::SigningInfo &signingInfo)
Sets the signing parameters.
Signing parameters passed to KeyChain.
boost::chrono::milliseconds milliseconds