 | TopologyNodeDistanceFrom(TopologyNode) Method |
Gets the distance between a node in the topology and another node.
Namespace: Ookii.Jumbo.TopologyAssembly: Ookii.Jumbo (in Ookii.Jumbo.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntaxpublic int DistanceFrom(
TopologyNode node
)
Public Function DistanceFrom (
node As TopologyNode
) As Integer
public:
int DistanceFrom(
TopologyNode^ node
)
member DistanceFrom :
node : TopologyNode -> int
Parameters
- node TopologyNode
- The other node.
Return Value
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