TimeGeneratorInterface
in
A time generator generates strings of binary data based on a node ID, clock sequence, and the current time
Table of Contents
- generate() : string
- Generate a binary string from a node ID, clock sequence, and current time
Methods
generate()
Generate a binary string from a node ID, clock sequence, and current time
public
generate([Hexadecimal|int|string|null $node = null ][, int|null $clockSeq = null ]) : string
Parameters
- $node : Hexadecimal|int|string|null = null
-
A 48-bit number representing the hardware address; this number may be represented as an integer or a hexadecimal string
- $clockSeq : int|null = null
-
A 14-bit number used to help avoid duplicates that could arise when the clock is set backwards in time or if the node ID changes
Return values
string —A binary string