class documentation

class AddressChannel: (source)

Constructor: AddressChannel(channel, address)

View In Hierarchy

Simple container for a gRPC channel and its resolved address.

Parameters
channelThe underlying grpc.aio.Channel instance.
addressThe resolved address string (for example 'host:port') that was used to create the channel.
Method __init__ Initialize an AddressChannel instance.
Instance Variable address Resolved address string used to create the channel.
Instance Variable channel The underlying gRPC channel instance.
def __init__(self, channel: GRPCChannel, address: str): (source)

Initialize an AddressChannel instance.

address: str = (source)

Resolved address string used to create the channel.

The underlying gRPC channel instance.