Edit

Share via


ClusterConfiguration.LocalhostPrimarySilo(Int32, Int32) Method

Definition

Returns a prepopulated ClusterConfiguration object for a primary local silo (for testing)

public static Orleans.Runtime.Configuration.ClusterConfiguration LocalhostPrimarySilo (int siloPort = 22222, int gatewayPort = 40000);
static member LocalhostPrimarySilo : int * int -> Orleans.Runtime.Configuration.ClusterConfiguration
Public Shared Function LocalhostPrimarySilo (Optional siloPort As Integer = 22222, Optional gatewayPort As Integer = 40000) As ClusterConfiguration

Parameters

siloPort
Int32

TCP port for silo to silo communication

gatewayPort
Int32

Client gateway TCP port

Returns

ClusterConfiguration object that can be passed to Silo or SiloHost classes for initialization

Applies to