li.rudin.arduino.api.cdi.StateChangeEvent Maven / Gradle / Ivy
package li.rudin.arduino.api.cdi;
import li.rudin.arduino.api.state.ConnectionState;
public class StateChangeEvent
{
public StateChangeEvent(ConnectionState previous, ConnectionState current)
{
this.previousState = previous;
this.currentState = current;
}
public ConnectionState getPreviousState() {
return previousState;
}
public ConnectionState getCurrentState() {
return currentState;
}
private final ConnectionState previousState, currentState;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy