public interface NetworkNodeListener
Classes implementing this interface may participate in learning the status
of an end host.
The NodeService will inform the registered listeners
of end host status by invoking the appropriate callbacks, depending on
whether the end host was added, removed, moved or changed.
| Modifier and Type | Method and Description |
|---|---|
void |
nodeAdded(NetworkNode node)
Callback invoked when a new end host is learnt.
|
void |
nodeIPV4AddrChanged(NetworkNode node)
Callback invoked when a network address has been added or removed
from an end host.
|
void |
nodeMoved(NetworkNode node)
Callback invoked when an end host has moved to a new port
on the network.
|
void |
nodeRemoved(NetworkNode node)
Callback invoked when the end host leaves the network.
|
void |
nodeVlanChanged(NetworkNode node)
Callback invoked when a VLAN tag for the end host has been updated.
|
void |
vidRemoved(VId vid)
Callback invoked when all end hosts for a VID are deleted.
|
void nodeAdded(NetworkNode node)
node - the end host that joined the networkvoid nodeRemoved(NetworkNode node)
node - the node that was removedvoid nodeMoved(NetworkNode node)
node - the node that movedvoid nodeIPV4AddrChanged(NetworkNode node)
node - the end host whose IP address changedvoid nodeVlanChanged(NetworkNode node)
node - the node that changed its VLANvoid vidRemoved(VId vid)
vid - the vid for which all end hosts are deletedCopyright © 2014. All Rights Reserved.