TestClusterPortAllocator.AllocateConsecutivePortPairs(Int32) 方法

定义

分配连续端口对。

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)

参数

numPorts
Int32

要分配的连续端口数。

返回

silo 和网关终结点的基本端口。

实现

适用于