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 75 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::Flags, hasCost(), hasExpirationPeriod(), hasFaceId(), 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 ndn::nfd::ControlCommand::getRequestName(), nfd::FaceManager::onFaceRequest(), nfd::FibManager::onFibRequest(), nfd::StrategyChoiceManager::onStrategyChoiceRequest(), and nfd::rib::RibManager::setConfigFile().
|
finalvirtual |
Implements ndn::mgmt::ControlParameters.
Definition at line 99 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 115 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_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::Block::find(), ndn::tlv::nfd::Flags, hasCost(), hasExpirationPeriod(), hasFaceId(), 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(), nfd::ManagerBase::extractParameters(), and nfd::rib::RibManager::setConfigFile().
|
inline |
Definition at line 106 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_NAME.
Referenced by getName(), nfd::StrategyChoiceManager::onStrategyChoiceRequest(), ndn::nfd::operator<<(), wireDecode(), and wireEncode().
|
inline |
Definition at line 112 of file nfd-control-parameters.hpp.
References hasName().
Referenced by nfd::FibManager::onFibRequest(), nfd::StrategyChoiceManager::onStrategyChoiceRequest(), ndn::nfd::operator<<(), nfd::rib::RibManager::setConfigFile(), nfd::rib::RemoteRegistrator::unregisterPrefix(), and ndn::nfd::StrategyChoiceUnsetCommand::validateRequest().
|
inline |
Definition at line 119 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_NAME.
Referenced by nfd::Face::Impl::asyncUnregisterPrefix(), nfd::rib::RemoteRegistrator::registerPrefix(), nfd::Face::Impl::registerPrefix(), nfd::rib::RibManager::setConfigFile(), and nfd::rib::RemoteRegistrator::unregisterPrefix().
|
inline |
Definition at line 128 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_NAME.
|
inline |
Definition at line 136 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(), nfd::FibManager::onFibRequest(), ndn::nfd::operator<<(), nfd::rib::RibManager::setConfigFile(), wireDecode(), and wireEncode().
|
inline |
Definition at line 142 of file nfd-control-parameters.hpp.
References hasFaceId().
Referenced by nfd::FaceManager::onFaceRequest(), nfd::FibManager::onFibRequest(), nfd::rib::RibManager::onRibUpdateFailure(), ndn::nfd::operator<<(), 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 149 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(), nfd::rib::RemoteRegistrator::loadConfig(), nfd::FaceManager::onFaceRequest(), nfd::FibManager::onFibRequest(), and nfd::rib::RibManager::setConfigFile().
|
inline |
Definition at line 158 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_FACE_ID.
|
inline |
Definition at line 166 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 172 of file nfd-control-parameters.hpp.
References hasUri().
Referenced by nfd::FaceManager::onFaceRequest(), and ndn::nfd::operator<<().
|
inline |
Definition at line 179 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_URI.
Referenced by nfd::FaceManager::onFaceRequest().
|
inline |
Definition at line 188 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_URI.
|
inline |
Definition at line 196 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 202 of file nfd-control-parameters.hpp.
References hasLocalControlFeature().
Referenced by nfd::FaceManager::onFaceRequest(), ndn::nfd::operator<<(), and ndn::nfd::FaceLocalControlCommand::validateRequest().
|
inline |
Definition at line 209 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_LOCAL_CONTROL_FEATURE.
|
inline |
Definition at line 218 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_LOCAL_CONTROL_FEATURE.
|
inline |
Definition at line 226 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 232 of file nfd-control-parameters.hpp.
References hasOrigin().
Referenced by ndn::nfd::operator<<(), and nfd::rib::RibManager::setConfigFile().
|
inline |
Definition at line 239 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_ORIGIN.
Referenced by ndn::nfd::RibRegisterCommand::applyDefaultsToRequest(), ndn::nfd::RibUnregisterCommand::applyDefaultsToRequest(), nfd::rib::RemoteRegistrator::loadConfig(), and nfd::rib::RibManager::setConfigFile().
|
inline |
Definition at line 248 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_ORIGIN.
|
inline |
Definition at line 256 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 262 of file nfd-control-parameters.hpp.
References hasCost().
Referenced by nfd::FibManager::onFibRequest(), ndn::nfd::operator<<(), and nfd::rib::RibManager::setConfigFile().
|
inline |
Definition at line 269 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_COST.
Referenced by ndn::nfd::FibAddNextHopCommand::applyDefaultsToRequest(), ndn::nfd::RibRegisterCommand::applyDefaultsToRequest(), and nfd::rib::RemoteRegistrator::loadConfig().
|
inline |
Definition at line 278 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_COST.
Referenced by nfd::rib::RemoteRegistrator::unregisterPrefix().
|
inline |
Definition at line 286 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 292 of file nfd-control-parameters.hpp.
References hasFlags().
Referenced by ndn::nfd::operator<<(), and nfd::rib::RibManager::setConfigFile().
|
inline |
Definition at line 299 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_FLAGS.
Referenced by ndn::nfd::RibRegisterCommand::applyDefaultsToRequest(), and nfd::Face::Impl::registerPrefix().
|
inline |
Definition at line 308 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_FLAGS.
|
inline |
Definition at line 316 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 322 of file nfd-control-parameters.hpp.
References hasStrategy().
Referenced by nfd::StrategyChoiceManager::onStrategyChoiceRequest(), and ndn::nfd::operator<<().
|
inline |
Definition at line 329 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_STRATEGY.
Referenced by nfd::StrategyChoiceManager::onStrategyChoiceRequest().
|
inline |
Definition at line 338 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_STRATEGY.
|
inline |
Definition at line 346 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 352 of file nfd-control-parameters.hpp.
References hasExpirationPeriod().
Referenced by ndn::nfd::operator<<(), and nfd::rib::RibManager::setConfigFile().
|
inline |
Definition at line 359 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_EXPIRATION_PERIOD.
|
inline |
Definition at line 368 of file nfd-control-parameters.hpp.
References ndn::nfd::CONTROL_PARAMETER_EXPIRATION_PERIOD.
|
inline |
Definition at line 376 of file nfd-control-parameters.hpp.
References ndn::nfd::operator<<().
Referenced by ndn::nfd::ControlCommand::FieldValidator::validate().