ndn::autoconfig::Procedure Class Reference

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

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

Public Member Functions

 Procedure (Face &face, KeyChain &keyChain)
 
virtual ~Procedure ()=default
 
boost::asio::io_context & getIoContext () const noexcept
 
void initialize (const Options &options)
 
void runOnce ()
 Run the HUB discovery procedure once. More...
 

Public Attributes

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

Detailed Description

Definition at line 44 of file procedure.hpp.

Constructor & Destructor Documentation

◆ Procedure()

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

Definition at line 42 of file procedure.cpp.

◆ ~Procedure()

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

Member Function Documentation

◆ getIoContext()

boost::asio::io_context& ndn::autoconfig::Procedure::getIoContext ( ) const
inlinenoexcept

Definition at line 62 of file procedure.hpp.

◆ initialize()

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

Definition at line 50 of file procedure.cpp.

◆ runOnce()

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

Run the HUB discovery procedure once.

Definition at line 77 of file procedure.cpp.

Member Data Documentation

◆ onComplete

signal::Signal<Procedure, bool> ndn::autoconfig::Procedure::onComplete

Signal emitted when the procedure completes.

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

Definition at line 83 of file procedure.hpp.