In this case the controller sends out a FAILURE signal to the coordinator, thus invoking the compensatory activities in reverse order.
在本例中,控制器会将FAILURE信号发送给协调器,从而以反转顺序调用补偿活动。
2
If the controller receives a SUCCESS signal from an activity, it sends a signal to the coordinator component (in this case PROPAGATE), thus invoking the next activity.
For the light controller device in this state, pressing SW1 will cause the device to startup as a coordinator while pressing SW2 will cause it startup as a router.