aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/GRPCClient/private/GRPCChannelPool.h
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-10-18 12:11:29 -0700
committerGravatar Muxi Yan <mxyan@google.com>2018-10-18 12:14:25 -0700
commita0f83554bbe47d9d99d6e3146a8ec7ba3a129b63 (patch)
treeb42224e36b537a0e742d7a12c74d2330870a6571 /src/objective-c/GRPCClient/private/GRPCChannelPool.h
parent3bdf794bd031162913f533a2a9535f4066a41abd (diff)
remove channel from pool with pointer rather than config
Diffstat (limited to 'src/objective-c/GRPCClient/private/GRPCChannelPool.h')
-rw-r--r--src/objective-c/GRPCClient/private/GRPCChannelPool.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/objective-c/GRPCClient/private/GRPCChannelPool.h b/src/objective-c/GRPCClient/private/GRPCChannelPool.h
index bd1350c15d..e9c2ef2bd1 100644
--- a/src/objective-c/GRPCClient/private/GRPCChannelPool.h
+++ b/src/objective-c/GRPCClient/private/GRPCChannelPool.h
@@ -55,8 +55,8 @@ NS_ASSUME_NONNULL_BEGIN
*/
- (GRPCChannel *)channelWithConfiguration:(GRPCChannelConfiguration *)configuration;
-/** Remove a channel with particular configuration. */
-- (void)removeChannelWithConfiguration:(GRPCChannelConfiguration *)configuration;
+/** Remove a channel from the pool. */
+- (void)removeChannel:(GRPCChannel *)channel;
/** Clear all channels in the pool. */
- (void)removeAllChannels;