ndn::tools::autoconfig::Procedure Class Reference

#include <tools/ndn-autoconfig/procedure.hpp>

+ Inheritance diagram for ndn::tools::autoconfig::Procedure:
+ Collaboration diagram for ndn::tools::autoconfig::Procedure:

Public Member Functions

 Procedure (Face &face, KeyChain &keyChain)
 
virtual ~Procedure ()=default
 
boost::asio::io_service & getIoService ()
 
void initialize (const Options &options)
 
void runOnce ()
 run HUB discovery procedure once More...
 

Public Attributes

util::Signal< Procedure, bool > onComplete
 signal when procedure completes More...
 

Detailed Description

Definition at line 43 of file procedure.hpp.

Constructor & Destructor Documentation

ndn::tools::autoconfig::Procedure::Procedure ( Face &  face,
KeyChain &  keyChain 
)

Definition at line 44 of file procedure.cpp.

virtual ndn::tools::autoconfig::Procedure::~Procedure ( )
virtualdefault

Member Function Documentation

boost::asio::io_service& ndn::tools::autoconfig::Procedure::getIoService ( )
inline

Definition at line 60 of file procedure.hpp.

void ndn::tools::autoconfig::Procedure::initialize ( const Options options)

Definition at line 52 of file procedure.cpp.

void ndn::tools::autoconfig::Procedure::runOnce ( )

run HUB discovery procedure once

Definition at line 79 of file procedure.cpp.

Member Data Documentation

util::Signal<Procedure, bool> ndn::tools::autoconfig::Procedure::onComplete

signal when procedure completes

Argument indicates whether the procedure succeeds (true) or fails (false).

Definition at line 80 of file procedure.hpp.