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

options for DummyClientFace More...

#include <dummy-client-face.hpp>

Public Member Functions

 Options (bool enablePacketLogging, bool enableRegistrationReply, const std::function< void(time::milliseconds)> &processEventsOverride)
 
 Options (bool enablePacketLogging, bool enableRegistrationReply)
 
 Options ()
 

Public Attributes

bool enablePacketLogging
 if true, packets sent out of DummyClientFace will be appended to a container More...
 
bool enableRegistrationReply
 if true, prefix registration command will be automatically replied with a successful response More...
 
std::function< void(time::milliseconds)> processEventsOverride
 if not empty, face.processEvents() will be overridden by this function More...
 

Detailed Description

options for DummyClientFace

Definition at line 39 of file dummy-client-face.hpp.

Constructor & Destructor Documentation

ndn::util::DummyClientFace::Options::Options ( bool  enablePacketLogging,
bool  enableRegistrationReply,
const std::function< void(time::milliseconds)> &  processEventsOverride 
)
inline

Definition at line 42 of file dummy-client-face.hpp.

ndn::util::DummyClientFace::Options::Options ( bool  enablePacketLogging,
bool  enableRegistrationReply 
)
inline

Definition at line 50 of file dummy-client-face.hpp.

ndn::util::DummyClientFace::Options::Options ( )
inline

Definition at line 55 of file dummy-client-face.hpp.

Member Data Documentation

bool ndn::util::DummyClientFace::Options::enablePacketLogging

if true, packets sent out of DummyClientFace will be appended to a container

Definition at line 63 of file dummy-client-face.hpp.

Referenced by ndn::util::DummyClientFace::DummyClientFace().

bool ndn::util::DummyClientFace::Options::enableRegistrationReply

if true, prefix registration command will be automatically replied with a successful response

Definition at line 68 of file dummy-client-face.hpp.

Referenced by ndn::util::DummyClientFace::DummyClientFace().

std::function<void(time::milliseconds)> ndn::util::DummyClientFace::Options::processEventsOverride

if not empty, face.processEvents() will be overridden by this function

Definition at line 72 of file dummy-client-face.hpp.

Referenced by ndn::util::DummyClientFace::DummyClientFace().


The documentation for this class was generated from the following file: