public interface StateMachineListener<S,E>
void
stateChanged(S from, S to)
void stateChanged(S from, S to)