public class NodeIdentifierUtil extends Object
| Constructor and Description |
|---|
NodeIdentifierUtil() |
| 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 indicat that it's a 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 - Copyright © 2019. All rights reserved.