Szerkesztés

Megosztás a következőn keresztül:


TestClusterPortAllocator.AllocateConsecutivePortPairs(Int32) Method

Definition

Allocates consecutive port pairs.

public (int, int) AllocateConsecutivePortPairs (int numPorts = 5);
abstract member AllocateConsecutivePortPairs : int -> ValueTuple<int, int>
override this.AllocateConsecutivePortPairs : int -> ValueTuple<int, int>
Public Function AllocateConsecutivePortPairs (Optional numPorts As Integer = 5) As ValueTuple(Of Integer, Integer)

Parameters

numPorts
Int32

The number of consecutive ports to allocate.

Returns

Base ports for silo and gateway endpoints.

Implements

Applies to