接下来,我将逐步构建一个状态机。
此状态机有三种状态和两种转换。
还请考虑您是否需要使用状态机。
我对状态机的理解在不断演变。
升级就像业务状态机中的计时器。
我得到了一个能正常运行的状态机。
能够方便放置状态机代码的位置。
生命周期状态机请参见图4。
我将开始对状态机进行一些转换。
在图1中,状态机从节点1开始。
例如,考虑图9中的状态机。
该函数比较简单,没必要使用状态机。
This function is relatively trivial, and does not require using a state machine.
现在,我具有一个可简单运行的状态机。
以下的示例展示了如何构建一个状态机。
对于基于状态的行为,可以使用状态机。
如何调试一个状态机(或其任意组件)。
How to debug a state machine (or any component, for that matter).
目前,状态机缺乏严密性。
业务流程、状态机和规则。
为解决此问题,状态机使用了一个相关集。
我们使用有限状态机模式设计了这种行为。
You used the finite state machine pattern to design this behavior.
业务状态机可以通过BPEL流程来实现。
A business state machine can be implemented by a BPEL process.
业务状态机的所有部分。
具体来讲,我需要处理状态机的多个状态。
Specifically, I want to handle more than one state within the machine.
每个复合状态都包括一个子状态机。
包含运行时变量状态机的复杂业务逻辑模拟。
Complex business logic simulation with runtime variable state machine.
请记住,NFA是一个实现转换图的状态机。
Remember that the NFA is a state machine that implements the transition diagram.
状态机在到达最终状态后就会结束。
不管状态如何,状态机都会触发事件。
The state machine will trigger an event regardless of the state of the machine.
在本例中,我的状态机应该记忆两种不同的状态。
In this case, my state machine should remember two different states.
如果流程逻辑为事件驱动的,则使用状态机实现。
Use the state machine implementation if the process logic is event driven.
应用推荐