StaticNodeProvider
in package
implements
NodeProviderInterface
StaticNodeProvider provides a static node value with the multicast bit set
Tags
Interfaces, Classes, Traits and Enums
- NodeProviderInterface
- A node provider retrieves or generates a node ID
Table of Contents
- $node : Hexadecimal
- __construct() : mixed
- getNode() : Hexadecimal
- Returns a node ID
- setMulticastBit() : Hexadecimal
- Set the multicast bit for the static node value
Properties
$node
private
Hexadecimal
$node
Methods
__construct()
public
__construct(Hexadecimal $node) : mixed
Parameters
- $node : Hexadecimal
-
The static node value to use
Return values
mixed —getNode()
Returns a node ID
public
getNode() : Hexadecimal
Return values
Hexadecimal —The node ID as a hexadecimal string
setMulticastBit()
Set the multicast bit for the static node value
private
setMulticastBit(Hexadecimal $node) : Hexadecimal
Parameters
- $node : Hexadecimal