Skip to content

AdoNetGatewayListProvider Methods

Provides Orleans gateway addresses from a relational clustering table.

GetGateways

View source
public Task<IList<Uri>> GetGateways()
Returns the list of gateways (silos) that can be used by a client to connect to Orleans cluster. The Uri is in the form of: "gwy.tcp://IP:port/Generation". See Utils.ToGatewayUri and Utils.ToSiloAddress for more details about Uri format.

Returns

The list of gateway endpoints.

InitializeGatewayListProvider

View source
public Task InitializeGatewayListProvider()
Initializes the provider, will be called before all other methods.

Returns

A System.Threading.Tasks.Task representing the work performed.