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