diff options
author | Craig Tiller <ctiller@google.com> | 2017-04-03 12:29:24 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-04-03 12:29:24 -0700 |
commit | 5311d666db8d625073bbb9cc25d0b1f189356219 (patch) | |
tree | 8a01a3775d1ac3295a51a3059477199ee09b270c /include | |
parent | 9d6f04d51976c94690092573c62fb5c5ba7544a9 (diff) | |
parent | 891b5922edb22f5b388dc540ba83e1486a359123 (diff) |
Merge github.com:grpc/grpc into atomic-timers
Diffstat (limited to 'include')
-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 3e54405974..489937712e 100644 --- a/include/grpc++/server.h +++ b/include/grpc++/server.h @@ -88,6 +88,8 @@ class Server final : public ServerInterface, private GrpcLibraryCodegen { virtual void PostSynchronousRequest(ServerContext* context) = 0; /// Called before server is started. virtual void PreServerStart(Server* server) {} + /// Called after a server port is added. + virtual void AddPort(Server* server, int port) {} }; /// 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 |