NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
ndn::util Namespace Reference




class  CanonizeProvider
 a CanonizeProvider provides FaceUri canonization functionality for a group of schemes More...
class  CanonizeProviderTableInitializer
class  Digest
 provides a digest calculation More...
class  DontVerifySegment
 Functor to skip validation of individual packets by SegmentFetcher. More...
class  DummyClientFace
 a client-side face for unit testing More...
class  EtherCanonizeProvider
class  EventEmitter
 provides a lightweight event system More...
class  FaceUri
 represents the underlying protocol and address used by a Face More...
class  IndentedStream
 Output to stream with specified indent or prefix. More...
class  InMemoryStorage
 Represents in-memory storage. More...
class  InMemoryStorageEntry
 Represents an in-memory storage entry. More...
class  InMemoryStorageFifo
 Provides in-memory storage employing FIFO replacement policy, which is first in first out. More...
class  InMemoryStorageLfu
 Provides an in-memory storage with Least Frequently Used (LFU) replacement policy. More...
class  InMemoryStorageLru
 Provides in-memory storage employing LRU replacement policy, of which the least recently used entry will be evict first. More...
class  InMemoryStoragePersistent
 Provides application cache with persistent storage, of which no replacement policy will be employed. More...
class  IpHostCanonizeProvider
class  NetworkMonitor
 Network state change monitor. More...
class  NotificationStream
 provides a publisher of Notification Stream More...
class  NotificationSubscriber
 provides a subscriber of Notification Stream More...
class  SegmentFetcher
 Utility class to fetch latest version of the segmented data. More...
class  Sqlite3Statement
 wrap an SQLite3 prepared statement More...
class  TcpCanonizeProvider
class  UdpCanonizeProvider


typedef Digest< CryptoPP::SHA256 > Sha256
 A digest using SHA256 as the hash function. More...
typedef boost::mpl::vector< UdpCanonizeProvider *, TcpCanonizeProvider *, EtherCanonizeProvider * > CanonizeProviders
typedef std::map< std::string, shared_ptr< CanonizeProvider > > CanonizeProviderTable


template<typename Hash >
std::ostream & operator<< (std::ostream &os, Digest< Hash > &digest)
template std::ostream & operator<< (std::ostream &os, Digest< CryptoPP::SHA256 > &digest)
shared_ptr< DummyClientFacemakeDummyClientFace (const DummyClientFace::Options &options)
shared_ptr< DummyClientFacemakeDummyClientFace (boost::asio::io_service &ioService, const DummyClientFace::Options &options)
std::ostream & operator<< (std::ostream &os, const FaceUri &uri)
static const CanonizeProvidergetCanonizeProvider (const std::string &scheme)
static void nop ()

Typedef Documentation

typedef Digest<CryptoPP::SHA256> ndn::util::Sha256

A digest using SHA256 as the hash function.

Definition at line 211 of file digest.hpp.

Definition at line 454 of file face-uri.cpp.

typedef std::map<std::string, shared_ptr<CanonizeProvider> > ndn::util::CanonizeProviderTable

Definition at line 455 of file face-uri.cpp.

Function Documentation

template<typename Hash >
std::ostream & ndn::util::operator<< ( std::ostream &  os,
Digest< Hash > &  digest 

Definition at line 160 of file digest.cpp.

References ndn::printHex().

template std::ostream& ndn::util::operator<< ( std::ostream &  os,
Digest< CryptoPP::SHA256 > &  digest 
shared_ptr< DummyClientFace > ndn::util::makeDummyClientFace ( const DummyClientFace::Options options)

Definition at line 197 of file dummy-client-face.cpp.

shared_ptr< DummyClientFace > ndn::util::makeDummyClientFace ( boost::asio::io_service &  ioService,
const DummyClientFace::Options options 

Definition at line 205 of file dummy-client-face.cpp.

std::ostream & ndn::util::operator<< ( std::ostream &  os,
const FaceUri uri 

Definition at line 193 of file face-uri.cpp.

static const CanonizeProvider* ndn::util::getCanonizeProvider ( const std::string &  scheme)
static void ndn::util::nop ( )

Definition at line 518 of file face-uri.cpp.

Referenced by ndn::util::FaceUri::canonize().