Ejemplo n.º 1
0
void
Face::unsetInterestFilter(const RegisteredPrefixId* registeredPrefixId)
{
  m_impl->m_scheduler.scheduleEvent(time::seconds(0), [=] {
      m_impl->asyncUnregisterPrefix(registeredPrefixId,
                                    UnregisterPrefixSuccessCallback(),
                                    UnregisterPrefixFailureCallback()); });
}
Ejemplo n.º 2
0
void
Face::unsetInterestFilter(const RegisteredPrefixId* registeredPrefixId)
{
  m_ioService.post(bind(&Impl::asyncUnregisterPrefix, m_impl, registeredPrefixId,
                        UnregisterPrefixSuccessCallback(), UnregisterPrefixFailureCallback()));
}