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