diff options
author | Dan Zhang <danzh@google.com> | 2018-03-01 10:47:00 -0500 |
---|---|---|
committer | Dan Zhang <danzh@google.com> | 2018-03-01 10:47:00 -0500 |
commit | 03f56a17ab73d1a36024e0624afcd704b0418f5f (patch) | |
tree | 1b2b30fe58a28edc83c9722f01a2bf7865d556e0 /src | |
parent | 1bdc9404694f84cf583aa56620fefde4ec0dbf25 (diff) |
edit comment
Diffstat (limited to 'src')
-rw-r--r-- | src/core/lib/iomgr/udp_server.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/lib/iomgr/udp_server.h b/src/core/lib/iomgr/udp_server.h index 860a3fbbb2..4e384d2cdf 100644 --- a/src/core/lib/iomgr/udp_server.h +++ b/src/core/lib/iomgr/udp_server.h @@ -52,8 +52,9 @@ class GrpcUdpHandler { // scheduled when the socket becomes blocked next time. virtual void OnCanWrite(void* user_data, grpc_closure* notify_on_write_closure) GRPC_ABSTRACT; - // Called before the gRPC FD is orphaned. After return of this method, the - // associated fd will be closed. + // Called before the gRPC FD is orphaned. Notify udp server to continue + // orphaning fd by scheduling the given closure, afterwards the associated fd + // will be closed. virtual void OnFdAboutToOrphan(grpc_closure* orphan_fd_closure, void* user_data) GRPC_ABSTRACT; |