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

Public Member Functions

def __init__ (self, rpc_state)
 
def cancelled (self)
 
def send_initial_metadata (self, initial_metadata)
 
def send_response (self, response)
 
def terminate (self, trailing_metadata, code, details)
 

Private Attributes

 _rpc_state
 

Detailed Description

Definition at line 34 of file _channel_rpc.py.

Constructor & Destructor Documentation

◆ __init__()

def grpc_testing._channel._channel_rpc._UnaryStream.__init__ (   self,
  rpc_state 
)

Definition at line 36 of file _channel_rpc.py.

Member Function Documentation

◆ cancelled()

def grpc_testing._channel._channel_rpc._UnaryStream.cancelled (   self)
Blocks until the system under test has cancelled the RPC.

Reimplemented from grpc_testing.UnaryStreamChannelRpc.

Definition at line 45 of file _channel_rpc.py.

◆ send_initial_metadata()

def grpc_testing._channel._channel_rpc._UnaryStream.send_initial_metadata (   self,
  initial_metadata 
)
Sends the RPC's initial metadata to the system under test.

Args:
  initial_metadata: The RPC's initial metadata to be "sent" to
    the system under test.

Reimplemented from grpc_testing.UnaryStreamChannelRpc.

Definition at line 39 of file _channel_rpc.py.

◆ send_response()

def grpc_testing._channel._channel_rpc._UnaryStream.send_response (   self,
  response 
)
Sends a response to the system under test.

Args:
  response: A response message to be "sent" to the system under test.

Reimplemented from grpc_testing.UnaryStreamChannelRpc.

Definition at line 42 of file _channel_rpc.py.

◆ terminate()

def grpc_testing._channel._channel_rpc._UnaryStream.terminate (   self,
  trailing_metadata,
  code,
  details 
)
Terminates the RPC.

Args:
  trailing_metadata: The RPC's trailing metadata.
  code: The RPC's status code.
  details: The RPC's status details.

Reimplemented from grpc_testing.UnaryStreamChannelRpc.

Definition at line 48 of file _channel_rpc.py.

Member Data Documentation

◆ _rpc_state

grpc_testing._channel._channel_rpc._UnaryStream._rpc_state
private

Definition at line 37 of file _channel_rpc.py.


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


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