Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

EndpointOptionsExtensions.ConfigureEndpoints Method

Definition

Namespace:
Orleans.Hosting
Assembly:
Orleans.Runtime.dll
Package:
Microsoft.Orleans.Runtime v10.0.0
Package:
Microsoft.Orleans.OrleansRuntime v2.4.5
Package:
Microsoft.Orleans.OrleansRuntime v3.6.5
Package:
Microsoft.Orleans.Runtime v7.2.5
Package:
Microsoft.Orleans.Runtime v8.0.0
Package:
Microsoft.Orleans.Runtime v8.1.0
Package:
Microsoft.Orleans.Runtime v8.2.0
Package:
Microsoft.Orleans.Runtime v9.0.0
Package:
Microsoft.Orleans.Runtime v9.1.2

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Overloads

ConfigureEndpoints(ISiloBuilder, Int32, Int32, AddressFamily, Boolean)

Source:
EndpointOptionsExtensions.cs

Configure endpoints for the silo.

public static Orleans.Hosting.ISiloBuilder ConfigureEndpoints(this Orleans.Hosting.ISiloBuilder builder, int siloPort, int gatewayPort, System.Net.Sockets.AddressFamily addressFamily = System.Net.Sockets.AddressFamily.InterNetwork, bool listenOnAnyHostAddress = false);
static member ConfigureEndpoints : Orleans.Hosting.ISiloBuilder * int * int * System.Net.Sockets.AddressFamily * bool -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function ConfigureEndpoints (builder As ISiloBuilder, siloPort As Integer, gatewayPort As Integer, Optional addressFamily As AddressFamily = System.Net.Sockets.AddressFamily.InterNetwork, Optional listenOnAnyHostAddress As Boolean = false) As ISiloBuilder

Parameters

builder
ISiloBuilder

The host builder to configure.

siloPort
Int32

The port this silo uses for silo-to-silo communication.

gatewayPort
Int32

The port this silo uses for client-to-silo (gateway) communication. Specify 0 to disable gateway functionality.

addressFamily
AddressFamily

Address family to listen on. Default IPv4 address family.

listenOnAnyHostAddress
Boolean

Set to true to listen on all IP addresses of the host instead of just the advertiseIP.

Returns

Applies to

ConfigureEndpoints(ISiloBuilder, IPAddress, Int32, Int32, Boolean)

Source:
EndpointOptionsExtensions.cs

Configure endpoints for the silo.

public static Orleans.Hosting.ISiloBuilder ConfigureEndpoints(this Orleans.Hosting.ISiloBuilder builder, System.Net.IPAddress advertisedIP, int siloPort, int gatewayPort, bool listenOnAnyHostAddress = false);
static member ConfigureEndpoints : Orleans.Hosting.ISiloBuilder * System.Net.IPAddress * int * int * bool -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function ConfigureEndpoints (builder As ISiloBuilder, advertisedIP As IPAddress, siloPort As Integer, gatewayPort As Integer, Optional listenOnAnyHostAddress As Boolean = false) As ISiloBuilder

Parameters

builder
ISiloBuilder

The host builder to configure.

advertisedIP
IPAddress

The IP address to be advertised in membership tables

siloPort
Int32

The port this silo uses for silo-to-silo communication.

gatewayPort
Int32

The port this silo uses for client-to-silo (gateway) communication. Specify 0 to disable gateway functionality.

listenOnAnyHostAddress
Boolean

Set to true to listen on all IP addresses of the host instead of just the advertiseIP.

Returns

Applies to

ConfigureEndpoints(ISiloHostBuilder, Int32, Int32, AddressFamily, Boolean)

Source:
EndpointOptionsExtensions.cs

Configure endpoints for the silo.

public static Orleans.Hosting.ISiloHostBuilder ConfigureEndpoints(this Orleans.Hosting.ISiloHostBuilder builder, int siloPort, int gatewayPort, System.Net.Sockets.AddressFamily addressFamily = System.Net.Sockets.AddressFamily.InterNetwork, bool listenOnAnyHostAddress = false);
static member ConfigureEndpoints : Orleans.Hosting.ISiloHostBuilder * int * int * System.Net.Sockets.AddressFamily * bool -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function ConfigureEndpoints (builder As ISiloHostBuilder, siloPort As Integer, gatewayPort As Integer, Optional addressFamily As AddressFamily = System.Net.Sockets.AddressFamily.InterNetwork, Optional listenOnAnyHostAddress As Boolean = false) As ISiloHostBuilder

Parameters

builder
ISiloHostBuilder

The host builder to configure.

siloPort
Int32

The port this silo uses for silo-to-silo communication.

gatewayPort
Int32

The port this silo uses for client-to-silo (gateway) communication. Specify 0 to disable gateway functionality.

addressFamily
AddressFamily

Address family to listen on. Default IPv4 address family.

listenOnAnyHostAddress
Boolean

Set to true to listen on all IP addresses of the host instead of just the advertiseIP.

Returns

Applies to

ConfigureEndpoints(ISiloHostBuilder, IPAddress, Int32, Int32, Boolean)

Source:
EndpointOptionsExtensions.cs

Configure endpoints for the silo.

public static Orleans.Hosting.ISiloHostBuilder ConfigureEndpoints(this Orleans.Hosting.ISiloHostBuilder builder, System.Net.IPAddress advertisedIP, int siloPort, int gatewayPort, bool listenOnAnyHostAddress = false);
static member ConfigureEndpoints : Orleans.Hosting.ISiloHostBuilder * System.Net.IPAddress * int * int * bool -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function ConfigureEndpoints (builder As ISiloHostBuilder, advertisedIP As IPAddress, siloPort As Integer, gatewayPort As Integer, Optional listenOnAnyHostAddress As Boolean = false) As ISiloHostBuilder

Parameters

builder
ISiloHostBuilder

The host builder to configure.

advertisedIP
IPAddress

The IP address to be advertised in membership tables

siloPort
Int32

The port this silo uses for silo-to-silo communication.

gatewayPort
Int32

The port this silo uses for client-to-silo (gateway) communication. Specify 0 to disable gateway functionality.

listenOnAnyHostAddress
Boolean

Set to true to listen on all IP addresses of the host instead of just the advertiseIP.

Returns

Applies to

ConfigureEndpoints(ISiloBuilder, String, Int32, Int32, AddressFamily, Boolean)

Source:
EndpointOptionsExtensions.cs

Configure endpoints for the silo.

public static Orleans.Hosting.ISiloBuilder ConfigureEndpoints(this Orleans.Hosting.ISiloBuilder builder, string hostname, int siloPort, int gatewayPort, System.Net.Sockets.AddressFamily addressFamily = System.Net.Sockets.AddressFamily.InterNetwork, bool listenOnAnyHostAddress = false);
static member ConfigureEndpoints : Orleans.Hosting.ISiloBuilder * string * int * int * System.Net.Sockets.AddressFamily * bool -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function ConfigureEndpoints (builder As ISiloBuilder, hostname As String, siloPort As Integer, gatewayPort As Integer, Optional addressFamily As AddressFamily = System.Net.Sockets.AddressFamily.InterNetwork, Optional listenOnAnyHostAddress As Boolean = false) As ISiloBuilder

Parameters

builder
ISiloBuilder

The host builder to configure.

hostname
String

The host name the silo is running on.

siloPort
Int32

The port this silo uses for silo-to-silo communication.

gatewayPort
Int32

The port this silo uses for client-to-silo (gateway) communication. Specify 0 to disable gateway functionality.

addressFamily
AddressFamily

Address family to listen on. Default IPv4 address family.

listenOnAnyHostAddress
Boolean

Set to true to listen on all IP addresses of the host instead of just the advertiseIP.

Returns

Applies to

ConfigureEndpoints(ISiloHostBuilder, String, Int32, Int32, AddressFamily, Boolean)

Source:
EndpointOptionsExtensions.cs

Configure endpoints for the silo.

public static Orleans.Hosting.ISiloHostBuilder ConfigureEndpoints(this Orleans.Hosting.ISiloHostBuilder builder, string hostname, int siloPort, int gatewayPort, System.Net.Sockets.AddressFamily addressFamily = System.Net.Sockets.AddressFamily.InterNetwork, bool listenOnAnyHostAddress = false);
static member ConfigureEndpoints : Orleans.Hosting.ISiloHostBuilder * string * int * int * System.Net.Sockets.AddressFamily * bool -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function ConfigureEndpoints (builder As ISiloHostBuilder, hostname As String, siloPort As Integer, gatewayPort As Integer, Optional addressFamily As AddressFamily = System.Net.Sockets.AddressFamily.InterNetwork, Optional listenOnAnyHostAddress As Boolean = false) As ISiloHostBuilder

Parameters

builder
ISiloHostBuilder

The host builder to configure.

hostname
String

The host name the silo is running on.

siloPort
Int32

The port this silo uses for silo-to-silo communication.

gatewayPort
Int32

The port this silo uses for client-to-silo (gateway) communication. Specify 0 to disable gateway functionality.

addressFamily
AddressFamily

Address family to listen on. Default IPv4 address family.

listenOnAnyHostAddress
Boolean

Set to true to listen on all IP addresses of the host instead of just the advertiseIP.

Returns

Applies to