C# Class Built.Grpc.GRPCChannelPoolManager

grpc ChannelPool Manager
Inheritance: Built.Grpc.ConsulInterop
Afficher le fichier Open project: BuiltCloud/Built Class Usage Examples

Private Properties

Свойство Type Description
AddGrpcChannel void
DownLoadServiceListAsync Task
InitGrpcChannel void
InitUpdateServiceListTimer void

Méthodes publiques

Méthode Description
Clean ( ) : void

clean grpc channel resources

GRPCChannelPoolManager ( ConsulRemoteServiceConfig config, Built.Grpc.ClientAgentOption option ) : Consul

Private Methods

Méthode Description
AddGrpcChannel ( string address, int port, AgentService agentService ) : void
DownLoadServiceListAsync ( ) : Task
InitGrpcChannel ( ) : void

init grpc channel

InitUpdateServiceListTimer ( int freshServiceListInterval ) : void

Initializes the update service list timer.

Method Details

Clean() public méthode

clean grpc channel resources
public Clean ( ) : void
Résultat void

GRPCChannelPoolManager() public méthode

public GRPCChannelPoolManager ( ConsulRemoteServiceConfig config, Built.Grpc.ClientAgentOption option ) : Consul
config ConsulRemoteServiceConfig
option Built.Grpc.ClientAgentOption
Résultat Consul