|
Apache Mesos
|
#include <network.hpp>
Public Types | |
| enum | WatchMode { EQUAL_TO, NOT_EQUAL_TO, LESS_THAN, LESS_THAN_OR_EQUAL_TO, GREATER_THAN, GREATER_THAN_OR_EQUAL_TO } |
Public Member Functions | |
| 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< Nothing > | broadcast (const M &m, const std::set< process::UPID > &filter=std::set< process::UPID >()) const |
| enum Network::WatchMode |
|
inline |
|
inlineexplicit |
|
inlinevirtual |
|
inline |
| process::Future< std::set< process::Future< Res > > > Network::broadcast | ( | const Protocol< Req, Res > & | protocol, |
| const Req & | req, | ||
| const std::set< process::UPID > & | filter = std::set<process::UPID>() |
||
| ) | const |
| process::Future< Nothing > Network::broadcast | ( | const M & | m, |
| const std::set< process::UPID > & | filter = std::set<process::UPID>() |
||
| ) | const |
|
inline |
|
inline |
|
inline |
1.8.11