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
 

Typedefs

typedef function< void(const Interest &, const Data &)> ndn::DataCallback
 Callback invoked when an expressed Interest is satisfied by a Data packet. More...
 
typedef function< void(const InterestFilter &, const Interest &)> ndn::InterestCallback
 Callback invoked when an incoming Interest matches the specified InterestFilter. More...
 
typedef function< void(const Interest &, const lp::Nack &)> ndn::NackCallback
 Callback invoked when a Nack is received in response to an expressed Interest. More...
 
using ndn::detail::RecordId = uint64_t
 
typedef function< void(const Name &, const std::string &)> ndn::RegisterPrefixFailureCallback
 Callback invoked when registerPrefix or setInterestFilter command fails. More...
 
typedef function< void(const Name &)> ndn::RegisterPrefixSuccessCallback
 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...
 
typedef function< void(const Interest &)> ndn::TimeoutCallback
 Callback invoked when an expressed Interest times out. More...
 
typedef function< void(const std::string &)> ndn::UnregisterPrefixFailureCallback
 Callback invoked when unregistering a prefix fails. More...
 
typedef function< void()> ndn::UnregisterPrefixSuccessCallback
 Callback invoked when unregistering a prefix succeeds. More...