commit | 0010cdae47270a22fd4442835261c796ee565900 | [log] [tgz] |
---|---|---|
author | Chen Wang <chenw@google.com> | Sun Feb 01 20:44:33 2015 -0800 |
committer | Chen Wang <chenw@google.com> | Sun Feb 01 20:44:33 2015 -0800 |
tree | 37cf3e04b660803a7194941bb6b6a217a8d0261d | |
parent | 04f1aa809a60bda7e64e72863890bba69ac0cfbf [diff] [blame] |
Add Pull method to subscriber
diff --git a/examples/tips/subscriber.h b/examples/tips/subscriber.h index e0491ff..38345c0 100644 --- a/examples/tips/subscriber.h +++ b/examples/tips/subscriber.h
@@ -53,6 +53,8 @@ Status GetSubscription(const grpc::string& name, grpc::string* topic); + Status Pull(const grpc::string& name, grpc::string* data); + private: std::unique_ptr<tech::pubsub::SubscriberService::Stub> stub_; };