Explain server termination semantics a little better.

Change on 2014/12/11 by ctiller <ctiller@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81923801
pull/1/merge
ctiller 10 years ago committed by Nicolas Noble
parent c78b34075d
commit 9a58df0855
  1. 7
      include/grpc/grpc.h

@ -439,10 +439,13 @@ int grpc_server_add_secure_http2_port(grpc_server *server, const char *addr);
/* Start a server - tells all listeners to start listening */
void grpc_server_start(grpc_server *server);
/* Begin shutting down a server. */
/* Begin shutting down a server.
After completion, no new calls or connections will be admitted.
Existing calls will be allowed to complete. */
void grpc_server_shutdown(grpc_server *server);
/* Destroy a server */
/* Destroy a server.
Forcefully cancels all existing calls. */
void grpc_server_destroy(grpc_server *server);
#ifdef __cplusplus

Loading…
Cancel
Save