Skip to content

ConsulGatewayListProvider Constructors

Provides Orleans gateway addresses from Consul cluster membership.

ConsulGatewayListProvider(ILogger<ConsulGatewayListProvider>, IOptions<ConsulClusteringOptions>, IOptions<GatewayOptions>, IOptions<ClusterOptions>)

View source
public ConsulGatewayListProvider(ILogger<ConsulGatewayListProvider> logger, IOptions<ConsulClusteringOptions> options, IOptions<GatewayOptions> gatewayOptions, IOptions<ClusterOptions> clusterOptions)
Initializes a new instance of the ConsulGatewayListProvider class.

Parameters

loggerILogger<ConsulGatewayListProvider>
The logger.
optionsIOptions<ConsulClusteringOptions>
The Consul clustering options.
gatewayOptionsIOptions<GatewayOptions>
The gateway discovery options.
clusterOptionsIOptions<ClusterOptions>
The cluster identity options.