- MakeCall(package=None, call=None, request=None, response=None, callback=None, deadline=None)source
Makes an asynchronous (i.e. non-blocking) API call within the specified package for the specified call method.
It will call the _MakeRealCall to do the real job.
Parametersas constructor; see __init__. (Same) –
Raises
- Wait()source
Waits on the API call associated with this RPC.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-04-04 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-04-04 UTC."],[[["The `RPC` class serves as the foundation for implementing Remote Procedure Calls (RPCs) within API proxy stubs."],["Developers can extend the `RPC` class and override the `_MakeCallImpl` and/or `_WaitImpl` methods to define asynchronous API call behavior."],["The `CheckSuccess` method is used to raise any exceptions that occurred during the API call or callback process."],["The `Clone` method provides a way to create a shallow copy of an RPC instance, which is useful for templating multiple RPCs."],["The `MakeCall` method initiates an asynchronous API call, and the `Wait` method allows waiting for the completion of that call."]]],[]]