Public Member Functions | Private Member Functions | Private Attributes | List of all members
grpc.aio._call.Call Class Reference
Inheritance diagram for grpc.aio._call.Call:
Inheritance graph
[legend]

Public Member Functions

None __del__ (self)
 
None __init__ (self, cygrpc._AioCall cython_call, Metadata metadata, SerializingFunction request_serializer, DeserializingFunction response_deserializer, asyncio.AbstractEventLoop loop)
 
str __repr__ (self)
 
str __str__ (self)
 
None add_done_callback (self, DoneCallbackType callback)
 
bool cancel (self)
 
bool cancelled (self)
 
grpc.StatusCode code (self)
 
str debug_error_string (self)
 
str details (self)
 
bool done (self)
 
Metadata initial_metadata (self)
 
Optional[float] time_remaining (self)
 
Metadata trailing_metadata (self)
 

Private Member Functions

bool _cancel (self, str details)
 
None _raise_for_status (self)
 
str _repr (self)
 

Private Attributes

 _cython_call
 
 _loop
 
 _metadata
 
 _request_serializer
 
 _response_deserializer
 

Detailed Description

Base implementation of client RPC Call object.

Implements logic around final status, metadata and cancellation.

Definition at line 160 of file _call.py.

Constructor & Destructor Documentation

◆ __init__()

None grpc.aio._call.Call.__init__ (   self,
cygrpc._AioCall  cython_call,
Metadata  metadata,
SerializingFunction  request_serializer,
DeserializingFunction  response_deserializer,
asyncio.AbstractEventLoop  loop 
)

Definition at line 172 of file _call.py.

◆ __del__()

None grpc.aio._call.Call.__del__ (   self)

Definition at line 182 of file _call.py.

Member Function Documentation

◆ __repr__()

str grpc.aio._call.Call.__repr__ (   self)

Definition at line 242 of file _call.py.

◆ __str__()

str grpc.aio._call.Call.__str__ (   self)

Definition at line 245 of file _call.py.

◆ _cancel()

bool grpc.aio._call.Call._cancel (   self,
str  details 
)
private
Forwards the application cancellation reasoning.

Definition at line 191 of file _call.py.

◆ _raise_for_status()

None grpc.aio._call.Call._raise_for_status (   self)
private

Definition at line 231 of file _call.py.

◆ _repr()

str grpc.aio._call.Call._repr (   self)
private

Definition at line 239 of file _call.py.

◆ add_done_callback()

None grpc.aio._call.Call.add_done_callback (   self,
DoneCallbackType  callback 
)

Definition at line 205 of file _call.py.

◆ cancel()

bool grpc.aio._call.Call.cancel (   self)

◆ cancelled()

bool grpc.aio._call.Call.cancelled (   self)

Definition at line 188 of file _call.py.

◆ code()

grpc.StatusCode grpc.aio._call.Call.code (   self)

Definition at line 221 of file _call.py.

◆ debug_error_string()

str grpc.aio._call.Call.debug_error_string (   self)

Definition at line 228 of file _call.py.

◆ details()

str grpc.aio._call.Call.details (   self)

Definition at line 225 of file _call.py.

◆ done()

bool grpc.aio._call.Call.done (   self)

Definition at line 202 of file _call.py.

◆ initial_metadata()

Metadata grpc.aio._call.Call.initial_metadata (   self)

Definition at line 212 of file _call.py.

◆ time_remaining()

Optional[float] grpc.aio._call.Call.time_remaining (   self)

Definition at line 209 of file _call.py.

◆ trailing_metadata()

Metadata grpc.aio._call.Call.trailing_metadata (   self)

Definition at line 216 of file _call.py.

Member Data Documentation

◆ _cython_call

grpc.aio._call.Call._cython_call
private

Definition at line 174 of file _call.py.

◆ _loop

grpc.aio._call.Call._loop
private

Definition at line 173 of file _call.py.

◆ _metadata

grpc.aio._call.Call._metadata
private

Definition at line 175 of file _call.py.

◆ _request_serializer

grpc.aio._call.Call._request_serializer
private

Definition at line 176 of file _call.py.

◆ _response_deserializer

grpc.aio._call.Call._response_deserializer
private

Definition at line 177 of file _call.py.


The documentation for this class was generated from the following file:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:32