閱讀英文

共用方式為


StaticGatewayListProvider 類別

定義

IGatewayListProvider 實作會傳回透過 StaticGatewayListProviderOptions設定的靜態清單。

public class StaticGatewayListProvider : Orleans.Messaging.IGatewayListProvider
繼承
StaticGatewayListProvider
實作

建構函式

屬性

IsUpdatable

取得值,指出這個 IGatewayListProvider 是否重新整理其傳回的資訊,或一律傳回相同的閘道清單。

MaxStaleness

取得重新整理之間的時間週期。

方法

GetGateways()

傳回閘道清單, (尋址接收器) 可供用戶端用來連線到「中樞」叢集。 URI 的格式為:「gwy.tcp://IP:port/Generation」。 如需 Uri 格式的詳細資訊,請參閱 Utils.ToGatewayUri 和 Utils.ToSiloAddress。

InitializeGatewayListProvider()

初始化提供者,將會在所有其他方法之前呼叫。

適用於

產品 版本
.NET Orleans 3.4.5, 3.6.0, 7.0.0, 8.0.0, 8.1.0, 8.2.0, 9.0.0