implementation detail of Face More...
#include <face-impl.hpp>
Public Types | |
using | PendingInterestTable = ContainerWithOnEmptySignal< shared_ptr< PendingInterest >> |
using | InterestFilterTable = std::list< shared_ptr< InterestFilterRecord >> |
using | RegisteredPrefixTable = ContainerWithOnEmptySignal< shared_ptr< RegisteredPrefix >> |
Public Member Functions | |
Impl (Face &face) | |
void | asyncExpressInterest (shared_ptr< const Interest > interest, const DataCallback &afterSatisfied, const NackCallback &afterNacked, const TimeoutCallback &afterTimeout) |
void | asyncRemovePendingInterest (const PendingInterestId *pendingInterestId) |
void | asyncRemoveAllPendingInterests () |
bool | satisfyPendingInterests (const Data &data) |
optional< lp::Nack > | nackPendingInterests (const lp::Nack &nack) |
void | asyncSetInterestFilter (shared_ptr< InterestFilterRecord > interestFilterRecord) |
void | asyncUnsetInterestFilter (const InterestFilterId *interestFilterId) |
void | processIncomingInterest (shared_ptr< const Interest > interest) |
void | asyncPutData (const Data &data) |
void | asyncPutNack (const lp::Nack &nack) |
const RegisteredPrefixId * | registerPrefix (const Name &prefix, shared_ptr< InterestFilterRecord > filter, const RegisterPrefixSuccessCallback &onSuccess, const RegisterPrefixFailureCallback &onFailure, uint64_t flags, const nfd::CommandOptions &options) |
void | afterPrefixRegistered (shared_ptr< RegisteredPrefix > registeredPrefix, const RegisterPrefixSuccessCallback &onSuccess) |
void | asyncUnregisterPrefix (const RegisteredPrefixId *registeredPrefixId, const UnregisterPrefixSuccessCallback &onSuccess, const UnregisterPrefixFailureCallback &onFailure) |
void | finalizeUnregisterPrefix (RegisteredPrefixTable::iterator item, const UnregisterPrefixSuccessCallback &onSuccess) |
void | ensureConnected (bool wantResume) |
void | onEmptyPitOrNoRegisteredPrefixes () |
Friends | |
class | Face |
implementation detail of Face
Definition at line 59 of file face-impl.hpp.
using face::Face::Impl::PendingInterestTable = ContainerWithOnEmptySignal<shared_ptr<PendingInterest>> |
Definition at line 62 of file face-impl.hpp.
using face::Face::Impl::InterestFilterTable = std::list<shared_ptr<InterestFilterRecord>> |
Definition at line 63 of file face-impl.hpp.
using face::Face::Impl::RegisteredPrefixTable = ContainerWithOnEmptySignal<shared_ptr<RegisteredPrefix>> |
Definition at line 64 of file face-impl.hpp.
|
inlineexplicit |
Definition at line 67 of file face-impl.hpp.
References face::Face::Impl::onEmptyPitOrNoRegisteredPrefixes().
|
inline |
Definition at line 86 of file face-impl.hpp.
References face::Face::Impl::ensureConnected(), and ndn::tlv::Interest.
|
inline |
Definition at line 109 of file face-impl.hpp.
|
inline |
Definition at line 115 of file face-impl.hpp.
|
inline |
Definition at line 123 of file face-impl.hpp.
References ndn::APP, and NDN_LOG_DEBUG.
Referenced by face::Face::Impl::asyncPutData().
Definition at line 151 of file face-impl.hpp.
References ndn::APP, ndn::lp::Nack::getInterest(), ndn::Interest::matchesInterest(), and NDN_LOG_DEBUG.
Referenced by face::Face::Impl::asyncPutNack().
|
inline |
Definition at line 185 of file face-impl.hpp.
References NDN_LOG_INFO.
|
inline |
Definition at line 192 of file face-impl.hpp.
References NDN_LOG_INFO.
|
inline |
Definition at line 204 of file face-impl.hpp.
References ndn::tlv::Interest, and NDN_LOG_DEBUG.
|
inline |
Definition at line 224 of file face-impl.hpp.
References face::Face::Impl::ensureConnected(), and face::Face::Impl::satisfyPendingInterests().
|
inline |
Definition at line 242 of file face-impl.hpp.
References ndn::lp::Packet::add(), face::Face::Impl::ensureConnected(), ndn::tlv::Interest, and face::Face::Impl::nackPendingInterests().
|
inline |
Definition at line 262 of file face-impl.hpp.
References face::Face::Impl::afterPrefixRegistered(), NDN_LOG_INFO, ndn::nfd::ControlParameters::setFlags(), and ndn::nfd::ControlParameters::setName().
|
inline |
Definition at line 288 of file face-impl.hpp.
References NDN_LOG_INFO.
Referenced by face::Face::Impl::registerPrefix().
|
inline |
Definition at line 305 of file face-impl.hpp.
References face::Face::Impl::finalizeUnregisterPrefix(), NDN_LOG_INFO, and ndn::nfd::ControlParameters::setName().
|
inline |
Definition at line 344 of file face-impl.hpp.
References NDN_LOG_INFO.
Referenced by face::Face::Impl::asyncUnregisterPrefix().
|
inline |
Definition at line 357 of file face-impl.hpp.
Referenced by face::Face::Impl::asyncExpressInterest(), face::Face::Impl::asyncPutData(), and face::Face::Impl::asyncPutNack().
|
inline |
Definition at line 369 of file face-impl.hpp.
References face::Face::Impl::Face, ndn::MAX_NDN_PACKET_SIZE, and ns3::ndn::Name.
Referenced by face::Face::Impl::Impl().
|
friend |
Definition at line 409 of file face-impl.hpp.
Referenced by face::Face::Impl::onEmptyPitOrNoRegisteredPrefixes().