如果您有一个不可变对象,则必须要在构造函数中设置该对象将包含的任何状态。
If you have an immutable object, you must set whatever state it will contain in the constructor.
如果使用状态机服务的客户端为当前状态调用了错误的操作,则该客户端将接收一个错误,使其知道将发生什么情况。
If a client using your state machine service calls the wrong operation for the current state, the client will receive a fault to let it know what happened.
当它醒来时,将检查CVS存储库中的修该,如果发现任何修改,则运行另一次构建;否则,它将进入睡眠状态并等待下一次构建时间。
When it awakens, it checks the CVS repository for modifications and, if it finds any, it runs another build; otherwise it goes to sleep and waits for the next time to build.
应用推荐