contains options for ControlCommand execution
More...
#include <ndn-cxx/mgmt/nfd/command-options.hpp>
contains options for ControlCommand execution
- Note
- This type is intentionally copyable
Definition at line 34 of file command-options.hpp.
◆ CommandOptions()
ndn::nfd::CommandOptions::CommandOptions |
( |
| ) |
|
◆ getPrefix()
const Name& ndn::nfd::CommandOptions::getPrefix |
( |
| ) |
const |
|
inline |
◆ getSigningInfo()
◆ getTimeout()
const time::milliseconds& ndn::nfd::CommandOptions::getTimeout |
( |
| ) |
const |
|
inline |
◆ setPrefix()
◆ setSigningInfo()
◆ setTimeout()
CommandOptions & ndn::nfd::CommandOptions::setTimeout |
( |
const time::milliseconds & |
timeout | ) |
|
sets command timeout
- Parameters
-
timeout | the new command timeout, must be positive |
- Exceptions
-
std::out_of_range | if timeout is non-positive |
- Returns
- self
Definition at line 37 of file command-options.cpp.
◆ DEFAULT_PREFIX
const Name ndn::nfd::CommandOptions::DEFAULT_PREFIX |
|
static |
◆ DEFAULT_TIMEOUT
const time::milliseconds ndn::nfd::CommandOptions::DEFAULT_TIMEOUT |
|
static |