prefix-update-commands.cpp
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
23 
24 namespace nlsr {
25 namespace update {
26 
28  : ControlCommand("nlsr", "withdraw")
29 {
30  m_requestValidator.required(ndn::nfd::CONTROL_PARAMETER_NAME);
31  m_responseValidator.required(ndn::nfd::CONTROL_PARAMETER_NAME);
32 }
33 
35  : ControlCommand("nlsr", "advertise")
36 {
37  m_requestValidator.required(ndn::nfd::CONTROL_PARAMETER_NAME);
38  m_responseValidator.required(ndn::nfd::CONTROL_PARAMETER_NAME);
39 }
40 
41 } // namespace update
42 } // namespace nlsr
Copyright (c) 2014-2017, The University of Memphis, Regents of the University of California, Arizona Board of Regents.
Copyright (c) 2014-2018, The University of Memphis, Regents of the University of California, Arizona Board of Regents.