<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Dear all,</p>
    <p><br>
    </p>
    <p>I'm trying to add holding time in forwarding strategy, before
      send interest. That's how I'm trying to do this:</p>
    <p>void<br>
      StormStrategy::afterReceiveInterest(const Face& inFace, const
      Interest& interest,<br>
                                              const
      shared_ptr<pit::Entry>& pitEntry)<br>
      {</p>
    <p>...<br>
    </p>
    <p>if (!wouldViolateScope(inFace, interest, outFace) &&<br>
              canForwardToLegacy(*pitEntry, outFace)) {<br>
            <br>
             
Simulator::Schedule(Seconds(holdingTime),&StormStrategy::SendAfterDelay,
      pitEntry, outFace, interest);<br>
              <br>
          }</p>
    <p>...<br>
    </p>
    <p>}<br>
    </p>
    <p>void <br>
    </p>
    <p>StormStrategy::SendAfterDelay(shared_ptr<pit::Entry>&pitEntry,const
      Face outFace,const Interest& interest)<br>
      {<br>
       this->sendInterest(pitEntry, outFace, interest);<br>
      }</p>
    <p>But have an errors:</p>
    <p><font size="-1"><i>/src/ndnSIM/NFD/daemon/fw/storm-strategy.hpp:49:3:
          error: candidate is: virtual void
          nfd::fw::StormStrategy::SendAfterDelay(const
          nfd::face::Face&, const ndn::Interest&, const
          std::shared_ptr<nfd::pit::Entry>&)</i><i><br>
        </i><i>   SendAfterDelay(const Face& inFace, const
          Interest& interest, const
          shared_ptr<pit::Entry>& pitEntry);</i><i><br>
        </i><i>   ^</i><i><br>
        </i><i>../src/ndnSIM/NFD/daemon/fw/storm-strategy.cpp: In member
          function ‘virtual void
          nfd::fw::StormStrategy::afterReceiveInterest(const
          nfd::face::Face&, const ndn::Interest&, const
          std::shared_ptr<nfd::pit::Entry>&)’:</i><i><br>
        </i><i>../src/ndnSIM/NFD/daemon/fw/storm-strategy.cpp:192:109:
          error: use of deleted function ‘nfd::face::Face::Face(const
          nfd::face::Face&)’</i><i><br>
        </i><i>        
Simulator::Schedule(Seconds(holdingTime),&StormStrategy::SendAfterDelay,
          pitEntry, outFace, interest);</i></font><br>
      <br>
    </p>
    <p>Can someone help me?</p>
    <p><br>
    </p>
    <p>Best regards,</p>
    <p>Oleg<br>
    </p>
  </body>
</html>