public class NodeIdentifierUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isMulticastNodeIdentifier(long nodeIdentifier)
Checks if a node identifier is multicast.
|
static long |
setMulticastNodeIdentifier(long nodeIdentifier)
Sets the the multicast bit ON to indicate that it's NOT a real MAC
address.
|
static long |
setUnicastNodeIdentifier(long nodeIdentifier)
Sets the the multicast bit OFF to indicate that it's a real MAC address.
|
public static long setMulticastNodeIdentifier(long nodeIdentifier)
nodeIdentifier - a node identifierpublic static long setUnicastNodeIdentifier(long nodeIdentifier)
nodeIdentifier - a node identifierpublic static boolean isMulticastNodeIdentifier(long nodeIdentifier)
nodeIdentifier - a node identifierCopyright © 2020. All rights reserved.