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

li.rudin.arduino.api.cdi.StateChangeEvent Maven / Gradle / Ivy

There is a newer version: 2.12
Show newest version
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