next up previous contents index
Next: Acknowledgments Up: Topaz Interfaces Imported by Previous: Time

UID

The UID interface contains types and procedures for generating unique identifiers.

   

TYPE
  Counter = CARDINAL;
  Constant = ARRAY [0..5] OF NubTypes.Byte;

Each call of the procedure GetCounter returns a value of type Counter that is guaranteed to be different than the values returned by all previous calls to GetCounter on the same machine. The procedure GetConstant returns a value of type Constant that is guaranteed to be different than the value returned by calls to GetConstant on any other machine. Thus the concatenation of a Counter and a Constant is unique across all machines over all time.



Paul McJones
8/28/1997