face.hpp File Reference
+ Include dependency graph for face.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ndn::Face::Error
 
class  ndn::Face
 Provide a communication channel with local or remote NDN forwarder. More...
 
class  ndn::InterestFilterHandle
 Handle for a registered Interest filter. More...
 
class  ndn::Face::OversizedPacketError
 Exception thrown when attempting to send a packet over size limit. More...
 
class  ndn::PendingInterestHandle
 Handle for a pending Interest. More...
 
class  ndn::RegisteredPrefixHandle
 Handle for a registered prefix. More...
 

Namespaces

 ndn
 
 ndn::detail
 Contains implementation details that are not part of the ndn-cxx public API.
 

Typedefs

using ndn::DataCallback = std::function< void(const Interest &, const Data &)>
 Callback invoked when an expressed Interest is satisfied by a Data packet. More...
 
using ndn::InterestCallback = std::function< void(const InterestFilter &, const Interest &)>
 Callback invoked when an incoming Interest matches the specified InterestFilter. More...
 
using ndn::NackCallback = std::function< void(const Interest &, const lp::Nack &)>
 Callback invoked when a Nack is received in response to an expressed Interest. More...
 
using ndn::detail::RecordId = uint64_t
 
using ndn::RegisterPrefixFailureCallback = std::function< void(const Name &, const std::string &)>
 Callback invoked when registerPrefix or setInterestFilter command fails. More...
 
using ndn::RegisterPrefixSuccessCallback = std::function< void(const Name &)>
 Callback invoked when registerPrefix or setInterestFilter command succeeds. More...
 
using ndn::ScopedInterestFilterHandle = detail::ScopedCancelHandle< InterestFilterHandle >
 Scoped handle for a registered Interest filter. More...
 
using ndn::ScopedPendingInterestHandle = detail::ScopedCancelHandle< PendingInterestHandle >
 Scoped handle for a pending Interest. More...
 
using ndn::ScopedRegisteredPrefixHandle = detail::ScopedCancelHandle< RegisteredPrefixHandle >
 Scoped handle for a registered prefix. More...
 
using ndn::TimeoutCallback = std::function< void(const Interest &)>
 Callback invoked when an expressed Interest times out. More...
 
using ndn::UnregisterPrefixFailureCallback = std::function< void(const std::string &)>
 Callback invoked when unregistering a prefix fails. More...
 
using ndn::UnregisterPrefixSuccessCallback = std::function< void()>
 Callback invoked when unregistering a prefix succeeds. More...