C# Class Built.Grpc.GRPCChannelPoolManager

grpc ChannelPool Manager
Inheritance: Built.Grpc.ConsulInterop
Datei anzeigen Open project: BuiltCloud/Built Class Usage Examples

Private Properties

Property Type Description
AddGrpcChannel void
DownLoadServiceListAsync Task
InitGrpcChannel void
InitUpdateServiceListTimer void

Public Methods

Method Description
Clean ( ) : void

clean grpc channel resources

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

Private Methods

Method 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 method

clean grpc channel resources
public Clean ( ) : void
return void

GRPCChannelPoolManager() public method

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