| TopologyNodeDistanceFrom Method (TopologyNode) |
Gets the distance between a node in the topology and another node.
Namespace:
Ookii.Jumbo.Topology
Assembly:
Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 2.0.0
Syntax public int DistanceFrom(
TopologyNode node
)
Public Function DistanceFrom (
node As TopologyNode
) As Integer
public:
int DistanceFrom(
TopologyNode^ node
)
member DistanceFrom :
node : TopologyNode -> int
Parameters
- node
- Type: Ookii.Jumbo.TopologyTopologyNode
The other node.
Return Value
Type:
Int320 if the two nodes are identical, 1 if they are in the same rack, or 2 if they are in different racks.
See Also