@Override public void edgeUpdate(List<TopoEdgeUpdate> topoedgeupdateList) { if (this.salTopoService != null) { this.salTopoService.edgeUpdate(topoedgeupdateList); } }
public void addEdge(Edge edge, Set<Property> properties, UpdateType updateType){ List<TopoEdgeUpdate > topoedgeupdateList = new ArrayList<TopoEdgeUpdate>(); topoedgeupdateList.add(new TopoEdgeUpdate(edge, properties, updateType)); this.pluginOutTopologyService.edgeUpdate(topoedgeupdateList); } }
@Override public void edgeUpdate(List<TopoEdgeUpdate> topoedgeupdateList) { //to ad-sal if (this.salTopoService != null) { logger.debug("edgeUpdate(): report edge list to SAL"); logger.debug("edgeUpdate(): edge list: " + "\n" + edgeListToString(topoedgeupdateList));//lg.dbug-trc logger.trace("report to ad-sal..."); this.salTopoService.edgeUpdate(topoedgeupdateList); } else logger.debug("ERROR: edgeUpdate(): IPluginOutTopologyService is null!"); //to md-sal logger.trace("report to md-sal..."); this.edgeUpdateToMdSal(topoedgeupdateList); }
@Override public void sollicitRefresh() { final TypeSafeDataReader reader = TypeSafeDataReader.forReader(dataService); final Topology t = reader.readOperationalData(topology); topologyPublisher.edgeUpdate(TopologyMapping.toADEdgeUpdates(t, reader)); }
topologyPublisher.edgeUpdate(msg);