package schedframe.net.pce.topology; /** * Class representing data links between two directly connected nodes. * * @author Bartosz Belter * */ public class DataLink extends VirtualLink { /** * The theoretical link capacity */ long bandwidth; public DataLink(String id, Node endpoint1, Node endpoint2, long bandwidth) { super(id, endpoint1, endpoint2); this.bandwidth = bandwidth; } /** * @return the bandwidth */ public long getBandwidth() { return bandwidth; } /** * @param bandwidth the bandwidth to set */ public void setBandwidth(long bandwidth) { this.bandwidth = bandwidth; } }