public interface State<T extends StateMachine>
https://github.com/RestComm/jdiameter/blob/master/core/jdiameter/api/src/main/java/org/jdiameter/api/app/State.java
| 限定符和类型 | 方法和说明 |
|---|---|
void |
entryAction()
Action that should be taken each time this state is entered
|
void |
exitAction()
Action that should be taken each time this state is exited
|
boolean |
processEvent(T fsm,
StateEvent event)
This method processed received event.
|
void entryAction()
void exitAction()
boolean processEvent(T fsm, StateEvent event)
fsm - the state machineevent - the event to process.Copyright © 2021. All rights reserved.