Lines Matching refs:RPC
16 A client may cancel an RPC for several reasons. Perhaps the data it requested
20 ##### Cancelling a Server-Side Unary RPC from the Client
22 The default RPC methods on a stub will simply return the result of an RPC.
32 to be executed when the RPC completes, or to cancel the RPC before it has
35 In the example, we use this interface to cancel our in-progress RPC when the
55 ##### Cancelling a Server-Side Streaming RPC from the Client
57 Cancelling a Server-side streaming RPC is even simpler from the perspective of
60 iterate over it to yield the results of our RPC.
83 It may also decide to cancel the RPC for its own reasons. In our example, the
84 server can be configured to cancel an RPC after a certain number of hashes has
90 with a fixed size. When an RPC is cancelled, the library does *not* terminate
92 ensure that your servicer thread terminates soon after the RPC has been
96 `threading.Event` object when the RPC is terminated. We pass this `Event` object
97 down through our hashing algorithm and ensure to check that the RPC is still
122 print("Cancelling RPC due to exhausted resources.")