diff options
author | ncteisen <ncteisen@gmail.com> | 2018-10-02 09:55:00 -0700 |
---|---|---|
committer | ncteisen <ncteisen@gmail.com> | 2018-10-02 09:55:00 -0700 |
commit | 3545d754d53448ce4ce17ac9605d4765094aa739 (patch) | |
tree | 1e55733262852b2683a91f8f7a471822ea796904 /include/grpc | |
parent | fd2fe1d5c42e95dc7c9a0dc59c6233d70ae85ff4 (diff) |
Channelz get server sockets support
Diffstat (limited to 'include/grpc')
-rw-r--r-- | include/grpc/grpc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/grpc/grpc.h b/include/grpc/grpc.h index a9beee1c9e..02ab6e8ba4 100644 --- a/include/grpc/grpc.h +++ b/include/grpc/grpc.h @@ -503,6 +503,10 @@ GRPCAPI char* grpc_channelz_get_top_channels(intptr_t start_channel_id); /* Gets all servers that exist in the process. */ GRPCAPI char* grpc_channelz_get_servers(intptr_t start_server_id); +/* Gets all server sockets that exist in the server. */ +GRPCAPI char* grpc_channelz_get_server_sockets(intptr_t server_id, + intptr_t start_socket_id); + /* Returns a single Channel, or else a NOT_FOUND code. The returned string is allocated and must be freed by the application. */ GRPCAPI char* grpc_channelz_get_channel(intptr_t channel_id); |