org.bidib.wizard.simulation.events.SwitchPairPortStatusEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bidibwizard-simulation Show documentation
Show all versions of bidibwizard-simulation Show documentation
jBiDiB BiDiB Wizard Simulation POM
The newest version!
package org.bidib.wizard.simulation.events;
import org.bidib.wizard.model.status.SwitchPortStatus;
public class SwitchPairPortStatusEvent {
private final String nodeAddr;
private final int portId;
private final SwitchPortStatus status;
public SwitchPairPortStatusEvent(String nodeAddr, int portId, SwitchPortStatus status) {
this.nodeAddr = nodeAddr;
this.portId = portId;
this.status = status;
}
public String getNodeAddr() {
return nodeAddr;
}
public int getPortNumber() {
return portId;
}
public SwitchPortStatus getStatus() {
return status;
}
}