22 #ifndef NDN_MGMT_NFD_COMMAND_OPTIONS_HPP 23 #define NDN_MGMT_NFD_COMMAND_OPTIONS_HPP 25 #include "../../security/signing-info.hpp" 46 const time::milliseconds&
98 time::milliseconds m_timeout;
106 #endif // NDN_MGMT_NFD_COMMAND_OPTIONS_HPP Copyright (c) 2013-2017 Regents of the University of California.
CommandOptions()
constructs CommandOptions
static const Name DEFAULT_PREFIX
gives the default command prefix: ndn:/localhost/nfd
const Name & getPrefix() const
Signing parameters passed to KeyChain.
CommandOptions & setTimeout(const time::milliseconds &timeout)
sets command timeout
contains options for ControlCommand execution
Represents an absolute name.
CommandOptions & setSigningInfo(const security::SigningInfo &signingInfo)
sets signing parameters
static const time::milliseconds DEFAULT_TIMEOUT
gives the default command timeout: 10000ms
const time::milliseconds & getTimeout() const
CommandOptions & setPrefix(const Name &prefix)
sets command prefix
const security::SigningInfo & getSigningInfo() const