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.
 

Method Detail

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 transition
currentState - the state that is associated with the transition


Copyright © 2004 TAServ. All Rights Reserved.