Apache Mesos
Public Member Functions | List of all members
ZooKeeperNetwork Class Reference

#include <network.hpp>

Inheritance diagram for ZooKeeperNetwork:

Public Member Functions

 ZooKeeperNetwork (const std::string &servers, const Duration &timeout, const std::string &znode, const Option< zookeeper::Authentication > &auth, const std::set< process::UPID > &base=std::set< process::UPID >())
- Public Member Functions inherited from Network
 Network ()
 Network (const std::set< process::UPID > &pids)
virtual ~Network ()
void add (const process::UPID &pid)
void remove (const process::UPID &pid)
void set (const std::set< process::UPID > &pids)
process::Future< size_t > watch (size_t size, WatchMode mode=NOT_EQUAL_TO) const
template<typename Req , typename Res >
process::Future< std::set
< process::Future< Res > > > 
broadcast (const Protocol< Req, Res > &protocol, const Req &req, const std::set< process::UPID > &filter=std::set< process::UPID >()) const
template<typename M >
process::Future< Nothingbroadcast (const M &m, const std::set< process::UPID > &filter=std::set< process::UPID >()) const

Additional Inherited Members

- Public Types inherited from Network
enum  WatchMode {

Constructor & Destructor Documentation

ZooKeeperNetwork::ZooKeeperNetwork ( const std::string &  servers,
const Duration timeout,
const std::string &  znode,
const Option< zookeeper::Authentication > &  auth,
const std::set< process::UPID > &  base = std::set<process::UPID>() 

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