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
 
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 ( )
default
virtual mesos::internal::tests::ZooKeeperTest::TestWatcher::~TestWatcher ( )
virtualdefault

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 
)
virtual

Implements Watcher.


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