Classes | Functions | Variables
tests_aio.channelz.channelz_servicer_test Namespace Reference

Classes

class  _ChannelServerPair
 
class  _GenericHandler
 
class  ChannelzServicerTest
 

Functions

def _create_channel_server_pairs (n, channelz_stub=None)
 
def _destroy_channel_server_pairs (pairs)
 
def _failed_unary_unary (request, servicer_context)
 
def _successful_stream_stream (request_iterator, servicer_context)
 
def _successful_unary_unary (request, servicer_context)
 

Variables

tuple _DISABLE_CHANNELZ = (('grpc.enable_channelz', 0),)
 
tuple _DISABLE_REUSE_PORT = (('grpc.so_reuseport', 0),)
 
tuple _ENABLE_CHANNELZ = (('grpc.enable_channelz', 1),)
 
string _FAILED_UNARY_UNARY = '/test/FailedUnaryUnary'
 
int _LARGE_UNASSIGNED_ID = 10000
 
string _REQUEST = b'\x00\x00\x00'
 
string _RESPONSE = b'\x01\x01\x01'
 
string _SUCCESSFUL_STREAM_STREAM = '/test/SuccessfulStreamStream'
 
string _SUCCESSFUL_UNARY_UNARY = '/test/SuccessfulUnaryUnary'
 
 level
 
 verbosity
 

Function Documentation

◆ _create_channel_server_pairs()

def tests_aio.channelz.channelz_servicer_test._create_channel_server_pairs (   n,
  channelz_stub = None 
)
private
Create channel-server pairs.

Definition at line 108 of file channelz_servicer_test.py.

◆ _destroy_channel_server_pairs()

def tests_aio.channelz.channelz_servicer_test._destroy_channel_server_pairs (   pairs)
private

Definition at line 118 of file channelz_servicer_test.py.

◆ _failed_unary_unary()

def tests_aio.channelz.channelz_servicer_test._failed_unary_unary (   request,
  servicer_context 
)
private

Definition at line 47 of file channelz_servicer_test.py.

◆ _successful_stream_stream()

def tests_aio.channelz.channelz_servicer_test._successful_stream_stream (   request_iterator,
  servicer_context 
)
private

Definition at line 52 of file channelz_servicer_test.py.

◆ _successful_unary_unary()

def tests_aio.channelz.channelz_servicer_test._successful_unary_unary (   request,
  servicer_context 
)
private

Definition at line 43 of file channelz_servicer_test.py.

Variable Documentation

◆ _DISABLE_CHANNELZ

tuple tests_aio.channelz.channelz_servicer_test._DISABLE_CHANNELZ = (('grpc.enable_channelz', 0),)
private

Definition at line 38 of file channelz_servicer_test.py.

◆ _DISABLE_REUSE_PORT

tuple tests_aio.channelz.channelz_servicer_test._DISABLE_REUSE_PORT = (('grpc.so_reuseport', 0),)
private

Definition at line 36 of file channelz_servicer_test.py.

◆ _ENABLE_CHANNELZ

tuple tests_aio.channelz.channelz_servicer_test._ENABLE_CHANNELZ = (('grpc.enable_channelz', 1),)
private

Definition at line 37 of file channelz_servicer_test.py.

◆ _FAILED_UNARY_UNARY

string tests_aio.channelz.channelz_servicer_test._FAILED_UNARY_UNARY = '/test/FailedUnaryUnary'
private

Definition at line 30 of file channelz_servicer_test.py.

◆ _LARGE_UNASSIGNED_ID

int tests_aio.channelz.channelz_servicer_test._LARGE_UNASSIGNED_ID = 10000
private

Definition at line 40 of file channelz_servicer_test.py.

◆ _REQUEST

string tests_aio.channelz.channelz_servicer_test._REQUEST = b'\x00\x00\x00'
private

Definition at line 33 of file channelz_servicer_test.py.

◆ _RESPONSE

string tests_aio.channelz.channelz_servicer_test._RESPONSE = b'\x01\x01\x01'
private

Definition at line 34 of file channelz_servicer_test.py.

◆ _SUCCESSFUL_STREAM_STREAM

string tests_aio.channelz.channelz_servicer_test._SUCCESSFUL_STREAM_STREAM = '/test/SuccessfulStreamStream'
private

Definition at line 31 of file channelz_servicer_test.py.

◆ _SUCCESSFUL_UNARY_UNARY

string tests_aio.channelz.channelz_servicer_test._SUCCESSFUL_UNARY_UNARY = '/test/SuccessfulUnaryUnary'
private

Definition at line 29 of file channelz_servicer_test.py.

◆ level

tests_aio.channelz.channelz_servicer_test.level

Definition at line 479 of file channelz_servicer_test.py.

◆ verbosity

tests_aio.channelz.channelz_servicer_test.verbosity

Definition at line 480 of file channelz_servicer_test.py.



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