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

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

#include <zk/results.hpp>

Public Member Functions

 watch_result (get_result initial, future< event > next) noexcept
 
 watch_result (watch_result &&)=default
 
const get_resultinitial () const &
 
get_resultinitial ()&
 
get_result initial ()&&
 
const future< event > & next () const &
 
future< event > & next ()&
 
future< eventnext ()&&
 

Detailed Description

The result type of client::watch.

Definition at line 224 of file results.hpp.

Member Function Documentation

const get_result& zk::watch_result::initial ( ) const
inline

The initial result of the fetch.

Definition at line 235 of file results.hpp.

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

Future to be delivered when the watch is triggered.

Definition at line 242 of file results.hpp.


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