represents parameters in a ControlCommand request or response More...
#include <nfd-control-parameters.hpp>
Classes | |
class | Error |
represents parameters in a ControlCommand request or response
This type is copyable because it's an abstraction of a TLV type.
Definition at line 77 of file nfd-control-parameters.hpp.
ndn::nfd::ControlParameters::ControlParameters | ( | ) |
Definition at line 36 of file nfd-control-parameters.cpp.
Referenced by ndn::nfd::ControlParameters::Error::Error().
|
explicit |
Definition at line 41 of file nfd-control-parameters.cpp.
References wireDecode().
size_t ndn::nfd::ControlParameters::wireEncode | ( | EncodingImpl< TAG > & | encoder | ) | const |
Definition at line 49 of file nfd-control-parameters.cpp.
References ndn::tlv::nfd::ControlParameters, ndn::tlv::nfd::Cost, ndn::tlv::nfd::ExpirationPeriod, ndn::tlv::nfd::FaceId, ndn::tlv::nfd::FacePersistency, ndn::tlv::nfd::Flags, hasCost(), hasExpirationPeriod(), hasFaceId(), hasFacePersistency(), hasFlags(), hasLocalControlFeature(), hasName(), hasOrigin(), hasStrategy(), hasUri(), ndn::tlv::nfd::LocalControlFeature, ndn::tlv::nfd::Origin, ndn::encoding::prependNestedBlock(), ndn::encoding::prependNonNegativeIntegerBlock(), ndn::tlv::nfd::Strategy, ndn::tlv::nfd::Uri, and ndn::Name::wireEncode().
Referenced by nfd::FibManager::FibManager(), ndn::nfd::ControlCommand::getRequestName(), nfd::FaceManager::setConfigFile(), nfd::rib::RibManager::setConfigFile(), and nfd::StrategyChoiceManager::StrategyChoiceManager().
|
finalvirtual |
Implements ndn::mgmt::ControlParameters.
Definition at line 103 of file nfd-control-parameters.cpp.
References ndn::Block::hasWire().
Referenced by ndn::nfd::ControlParameters::Error::Error().
|
finalvirtual |
Implements ndn::mgmt::ControlParameters.
Definition at line 119 of file nfd-control-parameters.cpp.
References ndn::nfd::CONTROL_PARAMETER_COST, ndn::nfd::CONTROL_PARAMETER_EXPIRATION_PERIOD, ndn::nfd::CONTROL_PARAMETER_FACE_ID, ndn::nfd::CONTROL_PARAMETER_FACE_PERSISTENCY, ndn::nfd::CONTROL_PARAMETER_FLAGS, ndn::nfd::CONTROL_PARAMETER_LOCAL_CONTROL_FEATURE, ndn::nfd::CONTROL_PARAMETER_NAME, ndn::nfd::CONTROL_PARAMETER_ORIGIN, ndn::nfd::CONTROL_PARAMETER_STRATEGY, ndn::nfd::CONTROL_PARAMETER_URI, ndn::tlv::nfd::ControlParameters, ndn::tlv::nfd::Cost, ndn::Block::elements_end(), ndn::tlv::nfd::ExpirationPeriod, ndn::tlv::nfd::FaceId, ndn::tlv::nfd::FacePersistency, ndn::Block::find(), ndn::tlv::nfd::Flags, hasCost(), hasExpirationPeriod(), hasFaceId(), hasFacePersistency(), hasFlags(), hasLocalControlFeature(), hasName(), hasOrigin(), hasStrategy(), hasUri(), ndn::tlv::nfd::LocalControlFeature, ndn::tlv::Name, ndn::tlv::nfd::Origin, ndn::Block::parse(), ndn::encoding::readNonNegativeInteger(), ndn::tlv::nfd::Strategy, ndn::Block::type(), ndn::tlv::nfd::Uri, and ndn::Name::wireDecode().
Referenced by ndn::nfd::Controller::Controller(), ControlParameters(), ndn::nfd::ControlParameters::Error::Error(), and nfd::rib::RibManager::setConfigFile().
|
inline |
Definition at line 108 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_NAME.
Referenced by getName(), ndn::nfd::operator<<(), wireDecode(), and wireEncode().
|
inline |
Definition at line 114 of file nfd-control-parameters.hpp.
References hasName().
Referenced by nfd::rib::AutoPrefixPropagator::disable(), nfd::FibManager::FibManager(), ndn::nfd::operator<<(), nfd::rib::RibManager::setConfigFile(), nfd::StrategyChoiceManager::StrategyChoiceManager(), and ndn::nfd::StrategyChoiceUnsetCommand::validateRequest().
|
inline |
Definition at line 121 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_NAME.
Referenced by nfd::rib::AutoPrefixPropagator::disable(), and nfd::rib::RibManager::setConfigFile().
|
inline |
Definition at line 130 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_NAME.
|
inline |
Definition at line 138 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_FACE_ID.
Referenced by ndn::nfd::FibAddNextHopCommand::applyDefaultsToRequest(), ndn::nfd::FibRemoveNextHopCommand::applyDefaultsToRequest(), ndn::nfd::RibRegisterCommand::applyDefaultsToRequest(), ndn::nfd::RibUnregisterCommand::applyDefaultsToRequest(), getFaceId(), ndn::nfd::operator<<(), nfd::rib::RibManager::setConfigFile(), wireDecode(), and wireEncode().
|
inline |
Definition at line 144 of file nfd-control-parameters.hpp.
References hasFaceId().
Referenced by nfd::FibManager::FibManager(), nfd::rib::RibManager::onRibUpdateFailure(), ndn::nfd::operator<<(), nfd::FaceManager::setConfigFile(), nfd::rib::RibManager::setConfigFile(), ndn::nfd::FaceDestroyCommand::validateRequest(), ndn::nfd::FaceCreateCommand::validateResponse(), ndn::nfd::FibAddNextHopCommand::validateResponse(), ndn::nfd::FibRemoveNextHopCommand::validateResponse(), ndn::nfd::RibRegisterCommand::validateResponse(), and ndn::nfd::RibUnregisterCommand::validateResponse().
|
inline |
Definition at line 151 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_FACE_ID.
Referenced by ndn::nfd::FibAddNextHopCommand::applyDefaultsToRequest(), ndn::nfd::FibRemoveNextHopCommand::applyDefaultsToRequest(), ndn::nfd::RibRegisterCommand::applyDefaultsToRequest(), ndn::nfd::RibUnregisterCommand::applyDefaultsToRequest(), ndn::util::DummyClientFace::DummyClientFace(), nfd::FibManager::FibManager(), nfd::rib::AutoPrefixPropagator::loadConfig(), nfd::FaceManager::setConfigFile(), and nfd::rib::RibManager::setConfigFile().
|
inline |
Definition at line 160 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_FACE_ID.
|
inline |
Definition at line 168 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_URI.
Referenced by getUri(), ndn::nfd::operator<<(), wireDecode(), and wireEncode().
|
inline |
Definition at line 174 of file nfd-control-parameters.hpp.
References hasUri().
Referenced by ndn::nfd::operator<<(), and nfd::FaceManager::setConfigFile().
|
inline |
Definition at line 181 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_URI.
Referenced by nfd::FaceManager::setConfigFile().
|
inline |
Definition at line 190 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_URI.
|
inline |
Definition at line 198 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_LOCAL_CONTROL_FEATURE.
Referenced by getLocalControlFeature(), ndn::nfd::operator<<(), wireDecode(), and wireEncode().
|
inline |
Definition at line 204 of file nfd-control-parameters.hpp.
References hasLocalControlFeature().
Referenced by ndn::nfd::operator<<(), and ndn::nfd::FaceLocalControlCommand::validateRequest().
|
inline |
Definition at line 211 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_LOCAL_CONTROL_FEATURE.
|
inline |
Definition at line 220 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_LOCAL_CONTROL_FEATURE.
|
inline |
Definition at line 228 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_ORIGIN.
Referenced by ndn::nfd::RibRegisterCommand::applyDefaultsToRequest(), ndn::nfd::RibUnregisterCommand::applyDefaultsToRequest(), getOrigin(), ndn::nfd::operator<<(), nfd::rib::RibManager::setConfigFile(), wireDecode(), and wireEncode().
|
inline |
Definition at line 234 of file nfd-control-parameters.hpp.
References hasOrigin().
Referenced by ndn::nfd::operator<<(), and nfd::rib::RibManager::setConfigFile().
|
inline |
Definition at line 241 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_ORIGIN.
Referenced by ndn::nfd::RibRegisterCommand::applyDefaultsToRequest(), ndn::nfd::RibUnregisterCommand::applyDefaultsToRequest(), ndn::util::DummyClientFace::DummyClientFace(), nfd::rib::AutoPrefixPropagator::loadConfig(), and nfd::rib::RibManager::setConfigFile().
|
inline |
Definition at line 250 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_ORIGIN.
|
inline |
Definition at line 258 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_COST.
Referenced by ndn::nfd::FibAddNextHopCommand::applyDefaultsToRequest(), ndn::nfd::RibRegisterCommand::applyDefaultsToRequest(), getCost(), ndn::nfd::operator<<(), wireDecode(), and wireEncode().
|
inline |
Definition at line 264 of file nfd-control-parameters.hpp.
References hasCost().
Referenced by nfd::rib::AutoPrefixPropagator::disable(), nfd::FibManager::FibManager(), ndn::nfd::operator<<(), and nfd::rib::RibManager::setConfigFile().
|
inline |
Definition at line 271 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_COST.
Referenced by ndn::nfd::FibAddNextHopCommand::applyDefaultsToRequest(), ndn::nfd::RibRegisterCommand::applyDefaultsToRequest(), nfd::rib::AutoPrefixPropagator::disable(), ndn::util::DummyClientFace::DummyClientFace(), and nfd::rib::AutoPrefixPropagator::loadConfig().
|
inline |
Definition at line 280 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_COST.
Referenced by nfd::rib::AutoPrefixPropagator::disable().
|
inline |
Definition at line 288 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_FLAGS.
Referenced by ndn::nfd::RibRegisterCommand::applyDefaultsToRequest(), getFlags(), ndn::nfd::operator<<(), wireDecode(), and wireEncode().
|
inline |
Definition at line 294 of file nfd-control-parameters.hpp.
References hasFlags().
Referenced by ndn::nfd::operator<<(), and nfd::rib::RibManager::setConfigFile().
|
inline |
Definition at line 301 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_FLAGS.
Referenced by ndn::nfd::RibRegisterCommand::applyDefaultsToRequest().
|
inline |
Definition at line 310 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_FLAGS.
|
inline |
Definition at line 318 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_STRATEGY.
Referenced by getStrategy(), ndn::nfd::operator<<(), wireDecode(), and wireEncode().
|
inline |
Definition at line 324 of file nfd-control-parameters.hpp.
References hasStrategy().
Referenced by ndn::nfd::operator<<(), and nfd::StrategyChoiceManager::StrategyChoiceManager().
|
inline |
Definition at line 331 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_STRATEGY.
Referenced by nfd::StrategyChoiceManager::StrategyChoiceManager().
|
inline |
Definition at line 340 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_STRATEGY.
|
inline |
Definition at line 348 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_EXPIRATION_PERIOD.
Referenced by getExpirationPeriod(), ndn::nfd::operator<<(), nfd::rib::RibManager::setConfigFile(), wireDecode(), and wireEncode().
|
inline |
Definition at line 354 of file nfd-control-parameters.hpp.
References hasExpirationPeriod().
Referenced by ndn::nfd::operator<<(), and nfd::rib::RibManager::setConfigFile().
|
inline |
Definition at line 361 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_EXPIRATION_PERIOD.
|
inline |
Definition at line 370 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_EXPIRATION_PERIOD.
|
inline |
Definition at line 378 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_FACE_PERSISTENCY.
Referenced by ndn::nfd::FaceCreateCommand::applyDefaultsToRequest(), getFacePersistency(), wireDecode(), and wireEncode().
|
inline |
Definition at line 384 of file nfd-control-parameters.hpp.
References hasFacePersistency().
Referenced by nfd::FaceManager::setConfigFile().
|
inline |
Definition at line 391 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_FACE_PERSISTENCY.
Referenced by ndn::nfd::FaceCreateCommand::applyDefaultsToRequest(), and nfd::FaceManager::setConfigFile().
|
inline |
Definition at line 400 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_FACE_PERSISTENCY.
|
inline |
Definition at line 408 of file nfd-control-parameters.hpp.
References ndn::nfd::operator<<().
Referenced by ndn::nfd::ControlCommand::FieldValidator::validate().