Classes | Public Types | Public Member Functions | Static Public Member Functions

cygnal::Cygnal Class Reference

#include <cygnal.h>

List of all members.

Classes

struct  peer_t

Public Types

typedef Handler::cygnal_init_t(* initentry_t )()

Public Member Functions

 ~Cygnal ()
bool loadPeersFile ()
bool loadPeersFile (const std::string &filespec)
void probePeers ()
void probePeers (peer_t &peer)
void probePeers (boost::shared_ptr< peer_t > peer)
void probePeers (std::vector< boost::shared_ptr< peer_t > > &peers)
void addHandler (const std::string &path, boost::shared_ptr< Handler > x)
boost::shared_ptr< HandlerfindHandler (const std::string &path)
void removeHandler (const std::string &path)
std::vector< boost::shared_ptr
< peer_t > > & 
getActive ()
void dump ()

Static Public Member Functions

static CygnalgetDefaultInstance ()

Member Typedef Documentation


Constructor & Destructor Documentation

Cygnal::~Cygnal (  ) 

Member Function Documentation

void cygnal::Cygnal::addHandler ( const std::string &  path,
boost::shared_ptr< Handler x 
) [inline]

Referenced by connection_handler().

void Cygnal::dump (  ) 
boost::shared_ptr< Handler > Cygnal::findHandler ( const std::string &  path  ) 

Referenced by connection_handler().

std::vector<boost::shared_ptr<peer_t> >& cygnal::Cygnal::getActive (  )  [inline]

Referenced by connection_handler().

Cygnal & Cygnal::getDefaultInstance (  )  [static]
bool Cygnal::loadPeersFile (  ) 

Referenced by main().

bool Cygnal::loadPeersFile ( const std::string &  filespec  ) 
void cygnal::Cygnal::probePeers ( boost::shared_ptr< peer_t peer  ) 
void Cygnal::probePeers ( peer_t peer  ) 
void Cygnal::probePeers (  ) 

Referenced by main(), and probePeers().

void Cygnal::probePeers ( std::vector< boost::shared_ptr< peer_t > > &  peers  ) 

References probePeers().

void Cygnal::removeHandler ( const std::string &  path  ) 

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