public interface Node extends NetworkElement
Interface
. A multi-homed system is modeled as multiple nodes.
Any node is uniquely identified by IpAddress
and SegmentId
.
Any other information about the node is not guaranteed to be unique,
and may be unknown.
NetworkElement.Type
Modifier and Type | Method and Description |
---|---|
boolean |
check(NodeInfo info)
Deprecated.
|
NodeId |
id()
Returns the globally-unique identifier of this node.
|
IpAddress |
ip()
Returns the IPv4 or IPv6 address of this node.
|
NodeLocation |
location()
Returns the most recent node location.
|
MacAddress |
mac()
Returns the MAC address of this node.
|
Interface |
netInterface()
Returns the network interface through which the node attaches to the
network.
|
List<NodeLocation> |
recentLocations()
Returns the list of recent node locations.
|
SegmentId |
segmentId()
Returns the network segment id on which this node has been discovered.
|
long |
timeout()
Returns the original time offset (in seconds) after which the node would
be removed.
|
boolean |
update(NodeInfo info)
Deprecated.
|
name, type
supplierId
NodeId id()
id
in interface NetworkElement
IpAddress ip()
SegmentId segmentId()
Interface netInterface()
Device
to which the node is attached.MacAddress mac()
NodeLocation location()
List<NodeLocation> recentLocations()
long timeout()
@Deprecated boolean check(NodeInfo info)
update(NodeInfo)
without modifying this object.info
- given node information@Deprecated boolean update(NodeInfo info)
info
- given node informationCopyright © 2015. All Rights Reserved.