573 #ifndef OPFLEX_CORE_OFFRAMEWORK_H 574 #define OPFLEX_CORE_OFFRAMEWORK_H 579 #include <boost/noncopyable.hpp> 601 namespace mointernal {
660 static const std::vector<int>& getVersion();
666 static const std::string& getVersionStr();
689 void setOpflexIdentity(
const std::string& name,
690 const std::string& domain);
701 void setOpflexIdentity(
const std::string& name,
702 const std::string& domain,
703 const std::string& location);
709 virtual void start();
734 virtual void dumpMODB(
const std::string& file);
742 virtual void dumpMODB(FILE* file);
754 virtual void prettyPrintMODB(std::ostream& output,
756 bool includeProps =
true,
758 size_t truncate = 0);
769 virtual void enableSSL(
const std::string& caStorePath,
770 bool verifyPeers =
true);
785 virtual void enableSSL(
const std::string& caStorePath,
786 const std::string& keyAndCertFilePath,
787 const std::string& passphrase,
788 bool verifyPeers =
true);
797 virtual void enableInspector(
const std::string& socketName);
815 virtual void addPeer(
const std::string& hostname,
835 modb::ObjectStore& getStore();
851 void clearTLMutator();
853 class OFFrameworkImpl;
854 OFFrameworkImpl* pimpl;
856 friend class OFFrameworkImpl;
874 virtual void start();
This is the base class for all managed objects, which are the primary point of interface with data st...
Definition: MO.h:48
A mutator represents a set of changes to apply to the data store.
Definition: Mutator.h:61
Main interface to the OpFlex framework.
Definition: OFFramework.h:644
Interface definition for main loop adaptor.
Definition: OFLogHandler.h:20
An interface for a listener that will get status update events for peer connection state...
Definition: PeerStatusListener.h:30
An adaptor that allows integrating libopflex with an external main loop.
Definition: MainLoopAdaptor.h:31
A mock framework object that will not attempt to create remote connections or resolve references...
Definition: OFFramework.h:869
Interface definition file for Mutators.
Interface definition for peer status.