nfd-rib-commands.cpp
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
22 #include "nfd-rib-commands.hpp"
23 
24 namespace nlsr {
25 namespace update {
26 
28  : ControlCommand("nlsr", "register")
29 {
30  m_requestValidator.required(ndn::nfd::CONTROL_PARAMETER_NAME);
31  m_requestValidator.optional(ndn::nfd::CONTROL_PARAMETER_ORIGIN);
32 }
33 
35  : ControlCommand("nlsr", "unregister")
36 {
37  m_requestValidator.required(ndn::nfd::CONTROL_PARAMETER_NAME);
38  m_requestValidator.optional(ndn::nfd::CONTROL_PARAMETER_ORIGIN);
39 }
40 
41 } // namespace update
42 } // namespace nlsr
Copyright (c) 2014-2020, The University of Memphis, Regents of the University of California.
Copyright (c) 2014-2017, The University of Memphis, Regents of the University of California,...