Apache Mesos
Classes | Public Member Functions | List of all members
mesos::internal::tests::ZooKeeperTest::TestWatcher Class Reference

#include <zookeeper.hpp>

Inheritance diagram for mesos::internal::tests::ZooKeeperTest::TestWatcher:
Watcher

Classes

struct  Event
 

Public Member Functions

 TestWatcher ()=default
 
 ~TestWatcher () override=default
 
void process (int type, int state, int64_t sessionId, const std::string &path) override
 
void awaitSessionEvent (int state)
 
void awaitCreated (const std::string &path)
 
Event awaitEvent (const lambda::function< bool(Event)> &matches)
 
Event awaitEvent ()
 
- Public Member Functions inherited from Watcher
virtual ~Watcher ()
 

Constructor & Destructor Documentation

mesos::internal::tests::ZooKeeperTest::TestWatcher::TestWatcher ( )
default
mesos::internal::tests::ZooKeeperTest::TestWatcher::~TestWatcher ( )
overridedefault

Member Function Documentation

void mesos::internal::tests::ZooKeeperTest::TestWatcher::awaitCreated ( const std::string &  path)
Event mesos::internal::tests::ZooKeeperTest::TestWatcher::awaitEvent ( const lambda::function< bool(Event)> &  matches)
Event mesos::internal::tests::ZooKeeperTest::TestWatcher::awaitEvent ( )
void mesos::internal::tests::ZooKeeperTest::TestWatcher::awaitSessionEvent ( int  state)
void mesos::internal::tests::ZooKeeperTest::TestWatcher::process ( int  type,
int  state,
int64_t  sessionId,
const std::string &  path 
)
overridevirtual

Implements Watcher.


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