org.jdiameter.api.app
Interface StateChangeListener<T>


public interface StateChangeListener<T>

Interface used to inform about changes in the state for a FSM.

Author:
erick.svenson@yahoo.com, Alexandre Mendonca , Bartosz Baranowski

Method Summary
 void stateChanged(java.lang.Enum oldState, java.lang.Enum newState)
          Deprecated. A change of state has occurred for a FSM.
 void stateChanged(T source, java.lang.Enum oldState, java.lang.Enum newState)
          A change of state has occurred for a FSM.
 

Method Detail

stateChanged

void stateChanged(java.lang.Enum oldState,
                  java.lang.Enum newState)
Deprecated. A change of state has occurred for a FSM.

Parameters:
oldState - Old state of FSM
newState - New state of FSM

stateChanged

void stateChanged(T source,
                  java.lang.Enum oldState,
                  java.lang.Enum newState)
A change of state has occurred for a FSM.

Parameters:
source - the App Session that generated the change.
oldState - Old state of FSM
newState - New state of FSM


Copyright © 2013. All Rights Reserved.