#ifndef __ASYNC_WATCH_HPP__ #define __ASYNC_WATCH_HPP__ #include #include "proto/rpc.grpc.pb.h" #include "proto/rpc.pb.h" #include "v3/include/V3Response.hpp" using etcdserverpb::WatchRequest; using etcdserverpb::WatchResponse; using etcdserverpb::KV; namespace etcdv3 { class AsyncWatchResponse : public etcdv3::V3Response { public: AsyncWatchResponse(WatchResponse& resp); AsyncWatchResponse(const AsyncWatchResponse& other); AsyncWatchResponse& operator=(const AsyncWatchResponse& other); void ParseResponse(); WatchResponse reply; }; } #endif