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

Public Member Functions

def __del__ (self)
 
def __init__ (self, state, call, response_deserializer, deadline)
 
def __iter__ (self)
 
def __next__ (self)
 
def __repr__ (self)
 
def __str__ (self)
 
def add_callback (self, callback)
 
def cancel (self)
 
def debug_error_string (self)
 
def is_active (self)
 
def next (self)
 
def time_remaining (self)
 

Private Member Functions

def _next (self)
 
def _repr (self)
 

Private Attributes

 _call
 
 _deadline
 
 _response_deserializer
 
 _state
 

Detailed Description

An RPC iterator.

Attributes:
  _state: An instance of _RPCState.
  _call: An instance of SegregatedCall or IntegratedCall.
    In either case, the _call object is expected to have operate, cancel,
    and next_event methods.
  _response_deserializer: A callable taking bytes and return a Python
    object.
  _deadline: A float representing the deadline of the RPC in seconds. Or
    possibly None, to represent an RPC with no deadline at all.

Definition at line 361 of file grpc/_channel.py.

Constructor & Destructor Documentation

◆ __init__()

def grpc._channel._Rendezvous.__init__ (   self,
  state,
  call,
  response_deserializer,
  deadline 
)

Definition at line 375 of file grpc/_channel.py.

◆ __del__()

def grpc._channel._Rendezvous.__del__ (   self)

Definition at line 443 of file grpc/_channel.py.

Member Function Documentation

◆ __iter__()

def grpc._channel._Rendezvous.__iter__ (   self)

Definition at line 419 of file grpc/_channel.py.

◆ __next__()

def grpc._channel._Rendezvous.__next__ (   self)

Definition at line 425 of file grpc/_channel.py.

◆ __repr__()

def grpc._channel._Rendezvous.__repr__ (   self)

Definition at line 437 of file grpc/_channel.py.

◆ __str__()

def grpc._channel._Rendezvous.__str__ (   self)

Definition at line 440 of file grpc/_channel.py.

◆ _next()

def grpc._channel._Rendezvous._next (   self)
private

◆ _repr()

def grpc._channel._Rendezvous._repr (   self)
private

Definition at line 434 of file grpc/_channel.py.

◆ add_callback()

def grpc._channel._Rendezvous.add_callback (   self,
  callback 
)
See grpc.RpcContext.add_callback

Reimplemented from grpc.RpcContext.

Definition at line 410 of file grpc/_channel.py.

◆ cancel()

def grpc._channel._Rendezvous.cancel (   self)
See grpc.RpcContext.cancel

Reimplemented from grpc.RpcContext.

Definition at line 395 of file grpc/_channel.py.

◆ debug_error_string()

def grpc._channel._Rendezvous.debug_error_string (   self)

◆ is_active()

def grpc._channel._Rendezvous.is_active (   self)
See grpc.RpcContext.is_active

Reimplemented from grpc.RpcContext.

Definition at line 382 of file grpc/_channel.py.

◆ next()

def grpc._channel._Rendezvous.next (   self)

Definition at line 422 of file grpc/_channel.py.

◆ time_remaining()

def grpc._channel._Rendezvous.time_remaining (   self)
See grpc.RpcContext.time_remaining

Reimplemented from grpc.RpcContext.

Definition at line 387 of file grpc/_channel.py.

Member Data Documentation

◆ _call

grpc._channel._Rendezvous._call
private

Definition at line 378 of file grpc/_channel.py.

◆ _deadline

grpc._channel._Rendezvous._deadline
private

Definition at line 380 of file grpc/_channel.py.

◆ _response_deserializer

grpc._channel._Rendezvous._response_deserializer
private

Definition at line 379 of file grpc/_channel.py.

◆ _state

grpc._channel._Rendezvous._state
private

Definition at line 377 of file grpc/_channel.py.


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


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