Skip to content
Snippets Groups Projects
Commit f5aa814e authored by Kanzhe Jiang's avatar Kanzhe Jiang
Browse files

More documentation in the new topologyService method, getLastLinkUpdates()

parent 9149ffa5
No related branches found
No related tags found
No related merge requests found
......@@ -185,9 +185,10 @@ public interface ITopologyService extends IFloodlightService {
public Set<NodePortTuple> getBlockedPorts();
/**
* Returns a set of link updates, which had been applied
* in computing the new topology.
* ITopologyListener provides topologyChanged notification,
* but not *what* the changes were.
* This method returns the delta in the linkUpdates between the current and the previous topology instance.
* @return
*/
public Set<LDUpdate> getAppliedLinkUpdates();
public Set<LDUpdate> getLastLinkUpdates();
}
......@@ -429,7 +429,7 @@ public class TopologyManager implements
}
@Override
public Set<LDUpdate> getAppliedLinkUpdates() {
public Set<LDUpdate> getLastLinkUpdates() {
return appliedUpdates;
}
////////////////////////////////////////////////////////////////////////
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment