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 | |
Definition at line 34 of file _channel_rpc.py.
def grpc_testing._channel._channel_rpc._UnaryStream.__init__ | ( | self, | |
rpc_state | |||
) |
Definition at line 36 of file _channel_rpc.py.
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.
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.
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.
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.
|
private |
Definition at line 37 of file _channel_rpc.py.