package schedframe.net.pce.topology; public class ExtendedVirtualLink extends VirtualLink { protected long currentBandwidth; public ExtendedVirtualLink(String id, Node endpoint1, Node endpoint2) { super(id, endpoint1, endpoint2); currentBandwidth = 0; } public void setCurrentBandwidth(long bandwidth) { this.currentBandwidth = bandwidth; } public long getCurrentBandwidth() { return currentBandwidth; } /* * public static void main(String []args){ Node node1 = new Node("node1", * NodeType.GRID_SITE); Node node2 = new Node("node2", NodeType.GRID_SITE); * ExtendedVirtualLink evl = new ExtendedVirtualLink("link", node1, node2); * System.out.println(evl.getCalendar()); } */ }