All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bidib.wizard.simulation.events.FeedbackPortSetStatusEvent Maven / Gradle / Ivy

There is a newer version: 2.0.26
Show newest version
package org.bidib.wizard.simulation.events;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.bidib.wizard.model.status.FeedbackPortStatus;

public class FeedbackPortSetStatusEvent {

    private final String nodeAddr;

    private final int portNum;

    private final FeedbackPortStatus status;

    public FeedbackPortSetStatusEvent(String nodeAddr, int portNum, FeedbackPortStatus status) {
        this.nodeAddr = nodeAddr;
        this.portNum = portNum;
        this.status = status;
    }

    public String getNodeAddr() {
        return nodeAddr;
    }

    public int getPortNum() {
        return portNum;
    }

    public FeedbackPortStatus getStatus() {
        return status;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy