zookeeper-cpp
ZooKeeper Client for C++
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups
zk::watch_children_result Class Referencefinal

The result type of client::watch_children. More...

#include <zk/results.hpp>

Public Member Functions

 watch_children_result (get_children_result initial, future< event > next) noexcept
 
 watch_children_result (watch_children_result &&)=default
 
const get_children_resultinitial () const &
 The initial result of the fetch. More...
 
get_children_resultinitial ()&
 
get_children_result initial ()&&
 
const future< event > & next () const &
 Future to be delivered when the watch is triggered. More...
 
future< event > & next ()&
 
future< eventnext ()&&
 

Detailed Description

The result type of client::watch_children.

Definition at line 223 of file results.hpp.

Member Function Documentation

const get_children_result& zk::watch_children_result::initial ( ) const
inline

The initial result of the fetch.

Definition at line 233 of file results.hpp.

const future<event>& zk::watch_children_result::next ( ) const
inline

Future to be delivered when the watch is triggered.

Definition at line 238 of file results.hpp.


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