diff options
author | Craig Tiller <ctiller@google.com> | 2017-04-01 07:42:20 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-04-01 07:42:20 -0700 |
commit | 5f95f1a4caff51459b77b0d6890e396e16617b9e (patch) | |
tree | 282c7e47f5a5f1a62964a47473c51472f7df995c /include/grpc++ | |
parent | d35bb9ec62992cb01f44316a7267d39f1918149d (diff) | |
parent | bd210c0bff6c8e52f49caa1cbc129359c24e2fbf (diff) |
Merge github.com:grpc/grpc into cpparena
Diffstat (limited to 'include/grpc++')
-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 |