
es.tid.vntm.topology.elements.PhyLinkParams Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of network-emulator Show documentation
Show all versions of network-emulator Show documentation
Emulator of GMPLS-controlled transport Network
The newest version!
package es.tid.vntm.topology.elements;
public class PhyLinkParams {
//Create parameters for Physical Link
double transmissionDelay;
boolean isActive;
public PhyLinkParams(double delay, boolean active){
isActive = active;
transmissionDelay = delay;
}
/**
* @return the transmissionDelay
*/
public double getTransmissionDelay() {
return transmissionDelay;
}
/**
* @param transmissionDelay the transmissionDelay to set
*/
public void setTransmissionDelay(double transmissionDelay) {
this.transmissionDelay = transmissionDelay;
}
/**
* @return the isActive
*/
public boolean isActive() {
return isActive;
}
/**
* @param isActive the isActive to set
*/
public void setActive(boolean isActive) {
this.isActive = isActive;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy