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:


struct  Event

Public Member Functions

 TestWatcher ()=default
virtual ~TestWatcher ()=default
virtual void process (int type, int state, int64_t sessionId, const std::string &path)
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 ( )
virtual mesos::internal::tests::ZooKeeperTest::TestWatcher::~TestWatcher ( )

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)
virtual void mesos::internal::tests::ZooKeeperTest::TestWatcher::process ( int  type,
int  state,
int64_t  sessionId,
const std::string &  path 

Implements Watcher.

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