|
NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.5: NDN, CCN, CCNx, content centric networks
|
API Documentation
|
Go to the documentation of this file.
64 name.append(m_module).append(m_verb);
81 bool isPresent = presentFields[i];
87 else if (isPresent && !m_optional[i]) {
@ CONTROL_PARAMETER_BASE_CONGESTION_MARKING_INTERVAL
@ CONTROL_PARAMETER_ORIGIN
ControlParameters & setFacePersistency(FacePersistency persistency)
@ CONTROL_PARAMETER_DEFAULT_CONGESTION_THRESHOLD
ControlParameters & setFlags(uint64_t flags)
@ CONTROL_PARAMETER_LOCAL_URI
size_t size() const
Returns the number of components.
void applyDefaultsToRequest(ControlParameters ¶meters) const override
apply default values to missing fields in request
virtual void applyDefaultsToResponse(ControlParameters ¶meters) const
apply default values to missing fields in response
void validateResponse(const ControlParameters ¶meters) const override
validate response parameters
void validateRequest(const ControlParameters ¶meters) const override
validate request parameters
@ CONTROL_PARAMETER_FACE_PERSISTENCY
FibRemoveNextHopCommand()
Name getRequestName(const Name &commandPrefix, const ControlParameters ¶meters) const
construct the Name for a request Interest
const std::string CONTROL_PARAMETER_FIELD[CONTROL_PARAMETER_UBOUND]
void validateResponse(const ControlParameters ¶meters) const override
validate response parameters
represents an error in ControlParameters
void applyDefaultsToRequest(ControlParameters ¶meters) const override
apply default values to missing fields in request
@ CONTROL_PARAMETER_FLAGS
virtual void validateResponse(const ControlParameters ¶meters) const
validate response parameters
void applyDefaultsToRequest(ControlParameters ¶meters) const override
apply default values to missing fields in request
@ CONTROL_PARAMETER_UBOUND
@ CONTROL_PARAMETER_FACE_ID
const std::vector< bool > & getPresentFields() const
void validateResponse(const ControlParameters ¶meters) const override
validate response parameters
Represents an absolute name.
uint64_t getCount() const
Copyright (c) 2011-2015 Regents of the University of California.
@ CONTROL_PARAMETER_COUNT
@ CONTROL_PARAMETER_STRATEGY
void validateResponse(const ControlParameters ¶meters) const override
validate response parameters
virtual ~ControlCommand()
void applyDefaultsToRequest(ControlParameters ¶meters) const override
apply default values to missing fields in request
FieldValidator m_requestValidator
FieldValidator for request ControlParameters.
ControlParameters & setFaceId(uint64_t faceId)
void validate(const ControlParameters ¶meters) const
verify that all required fields are present, and all present fields are either required or optional
size_t wireEncode(EncodingImpl< TAG > &encoder) const
ControlParameters & setOrigin(RouteOrigin origin)
void applyDefaultsToRequest(ControlParameters ¶meters) const override
apply default values to missing fields in request
@ CONTROL_PARAMETER_CAPACITY
@ CONTROL_PARAMETER_EXPIRATION_PERIOD
void validateResponse(const ControlParameters ¶meters) const override
represents parameters in a ControlCommand request or response
FieldValidator & required(ControlParameterField field)
declare a required field
virtual void validateRequest(const ControlParameters ¶meters) const
validate request parameters
const uint64_t INVALID_FACE_ID
const Name & getName() const
base class of NFD ControlCommand
ControlParameters & setCost(uint64_t cost)
bool hasFacePersistency() const
void validateResponse(const ControlParameters ¶meters) const override
validate response parameters
FieldValidator & optional(ControlParameterField field)
declare an optional field
FieldValidator m_responseValidator
FieldValidator for response ControlParameters.
StrategyChoiceUnsetCommand()
virtual void applyDefaultsToRequest(ControlParameters ¶meters) const
apply default values to missing fields in request
uint64_t getCapacity() const
void applyDefaultsToRequest(ControlParameters ¶meters) const override
apply default values to missing fields in request
uint64_t getFaceId() const
void validateRequest(const ControlParameters ¶meters) const override
validate request parameters
ControlCommand(const std::string &module, const std::string &verb)
void validateResponse(const ControlParameters ¶meters) const override
validate response parameters
void validateResponse(const ControlParameters ¶meters) const override
validate response parameters
void validateRequest(const ControlParameters ¶meters) const override
validate request parameters
void validateResponse(const ControlParameters ¶meters) const override
validate response parameters
StrategyChoiceSetCommand()
Copyright (c) 2011-2015 Regents of the University of California.
@ ROUTE_FLAG_CHILD_INHERIT
@ FACE_PERSISTENCY_PERSISTENT
face is persistent