31 : m_timeout(DEFAULT_TIMEOUT)
32 , m_prefix(DEFAULT_PREFIX)
39 if (timeout <= time::milliseconds::zero()) {
40 NDN_THROW(std::out_of_range(
"Timeout must be positive"));
57 m_signingInfo = signingInfo;
Represents an absolute name.
contains options for ControlCommand execution
static const time::milliseconds DEFAULT_TIMEOUT
gives the default command timeout: 10000ms
CommandOptions & setPrefix(const Name &prefix)
sets command prefix
CommandOptions & setTimeout(const time::milliseconds &timeout)
sets command timeout
static const Name DEFAULT_PREFIX
gives the default command prefix: ndn:/localhost/nfd
CommandOptions()
constructs CommandOptions
CommandOptions & setSigningInfo(const security::SigningInfo &signingInfo)
sets signing parameters
Signing parameters passed to KeyChain.
boost::chrono::milliseconds milliseconds