com.taserv.SMS
Interface StateTransition
public interface StateTransition
Defines a contract for event transitions
Method Summary |
java.lang.Enum |
transition(SMEvent triggerEvent,
SMStateIF currentState)
Called when the transition should be performed. |
transition
java.lang.Enum transition(SMEvent triggerEvent,
SMStateIF currentState)
- Called when the transition should be performed. The transition logic should
be implemented by this method.
- Parameters:
triggerEvent
- the event that triggered this transitioncurrentState
- the state that is associated with the transition
Copyright © 2004 TAServ. All Rights Reserved.