Interface StreamThread.StateListener
-
- Enclosing class:
- StreamThread
public static interface StreamThread.StateListenerListen to state change events
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonChange(java.lang.Thread thread, ThreadStateTransitionValidator newState, ThreadStateTransitionValidator oldState)Called when state changes
-
-
-
Method Detail
-
onChange
void onChange(java.lang.Thread thread, ThreadStateTransitionValidator newState, ThreadStateTransitionValidator oldState)Called when state changes- Parameters:
thread- thread changing statenewState- current stateoldState- previous state
-
-