public interface NodeInfo extends ModelInfo<NodeInfo.Field>
Node
for
the complete information for a specific node.Modifier and Type | Interface and Description |
---|---|
static class |
NodeInfo.Field
Fields which indicate portions of the node information that have
been specified.
|
Modifier and Type | Method and Description |
---|---|
NodeLocation |
location()
Returns the most recent node location.
|
MacAddress |
mac()
Returns the node's MAC address.
|
Interface |
netInterface()
Returns the network interface through which the node attaches to the
network.
|
long |
timeout()
Returns the time offset (in seconds) at which the node will be
removed.
|
NetworkElement.Type |
type()
Returns the node type.
|
dirtyFields
Interface netInterface()
Device
to which the node is attached.NetworkElement.Type type()
NodeLocation location()
MacAddress mac()
long timeout()
Long.MAX_VALUE
indicates an infinite offset,
which means the node will never be automatically removed. A value of
0 indicates that the value has not been specified.Copyright © 2015. All Rights Reserved.