diff options
author | yang-g <yangg@google.com> | 2017-02-17 09:55:03 -0800 |
---|---|---|
committer | yang-g <yangg@google.com> | 2017-02-17 09:55:03 -0800 |
commit | 55c6ebfd7a9f8077557a43dee9bf67d5c60528cb (patch) | |
tree | bac81627fcc53203050c4362b7036e7c486c44d0 /include/grpc++/server.h | |
parent | 076bac017b200accb8071e569b471f118fc3ba32 (diff) | |
parent | 13e185419cd177b7fb552601665e43820321a96b (diff) |
Merge branch 'master' into health
Diffstat (limited to 'include/grpc++/server.h')
-rw-r--r-- | include/grpc++/server.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/grpc++/server.h b/include/grpc++/server.h index e3e9174c9c..3e54405974 100644 --- a/include/grpc++/server.h +++ b/include/grpc++/server.h @@ -86,6 +86,8 @@ class Server final : public ServerInterface, private GrpcLibraryCodegen { virtual void PreSynchronousRequest(ServerContext* context) = 0; /// Called after application callback for each synchronous server request virtual void PostSynchronousRequest(ServerContext* context) = 0; + /// Called before server is started. + virtual void PreServerStart(Server* server) {} }; /// Set the global callback object. Can only be called once. Does not take /// ownership of callbacks, and expects the pointed to object to be alive |