org.bidib.wizard.simulation.events.FeedbackPortStatusEvent 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
package org.bidib.wizard.simulation.events;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.bidib.wizard.model.status.FeedbackPortStatus;
public class FeedbackPortStatusEvent {
private final String nodeAddr;
private final int portId;
private final FeedbackPortStatus status;
public FeedbackPortStatusEvent(String nodeAddr, int portId, FeedbackPortStatus status) {
this.nodeAddr = nodeAddr;
this.portId = portId;
this.status = status;
}
public String getNodeAddr() {
return nodeAddr;
}
public int getPortNumber() {
return portId;
}
public FeedbackPortStatus getStatus() {
return status;
}
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this);
}
}