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

◆ Procedure()

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

Definition at line 44 of file procedure.cpp.

◆ ~Procedure()

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

Member Function Documentation

◆ getIoService()

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

Definition at line 60 of file procedure.hpp.

◆ initialize()

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

Definition at line 52 of file procedure.cpp.

◆ runOnce()

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

run HUB discovery procedure once

Definition at line 79 of file procedure.cpp.

Member Data Documentation

◆ onComplete

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.