Click or drag to resize
UniqueKUtilityPrintList Method
Distributed Algorithm Simulator
Prints the ring orientation in clockwise order.

Namespace: DistributedAlgorithms
Assembly: DistributedAlgorithmSimulator (in DistributedAlgorithmSimulator.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public override bool PrintList(
	int n,
	List<Node> nodeList,
	ref string outputString,
	ref string errMsg
)

Parameters

n
Type: SystemInt32
Ring size
nodeList
Type: System.Collections.GenericListNode
Node list.
outputString
Type: SystemString
Ring orientation in string format.
errMsg
Type: SystemString
Error message, if any. "SUCCESS" if successful.

Return Value

Type: Boolean
true, if list was printed, false otherwise.
See Also