commit | 56b0bf8ff93b122d1f57d7d4669fe988b090a208 | [log] [tgz] |
---|---|---|
author | Ilya Moiseenko <iliamo@ucla.edu> | Sun Nov 08 11:14:28 2015 -0500 |
committer | Ilya Moiseenko <iliamo@ucla.edu> | Sun Nov 08 14:14:49 2015 -0500 |
tree | 3703177e673615761d8399e1f2cb2c3ffff8448e | |
parent | 82838beab528bd537eb3b70c138e479d7edaba3c [diff] [blame] |
face: API to remove all pending Interests Change-Id: Iac341689270698b66ec6228c27e23ea6cf3e5e59 Refs: #3300
diff --git a/src/face.cpp b/src/face.cpp index 336e85e..9d6b0dd 100644 --- a/src/face.cpp +++ b/src/face.cpp
@@ -218,6 +218,12 @@ m_ioService.post([=] { m_impl->asyncRemovePendingInterest(pendingInterestId); }); } +void +Face::removeAllPendingInterests() +{ + m_ioService.post([=] { m_impl->asyncRemoveAllPendingInterests(); }); +} + size_t Face::getNPendingInterests() const {