org.bidib.wizard.simulation.events.InputPortSetStatusEvent Maven / Gradle / Ivy
package org.bidib.wizard.simulation.events;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.bidib.wizard.model.status.InputPortStatus;
public class InputPortSetStatusEvent {
private final String nodeAddr;
private final int portNum;
private final InputPortStatus status;
public InputPortSetStatusEvent(String nodeAddr, int portNum, InputPortStatus status) {
this.nodeAddr = nodeAddr;
this.portNum = portNum;
this.status = status;
}
public String getNodeAddr() {
return nodeAddr;
}
public int getPortNum() {
return portNum;
}
public InputPortStatus getStatus() {
return status;
}
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this);
}
}