Switches the Flow
class instance to the specified state if this type of transition is allowed in the class object configuration.
Type: rule policy.
Syntax
enter {sid: Handle, state: State}
In this case:
Handle
refers to the handle of the resource associated with the finite-state machine.State
refers to the required target state.Returned value
KSS_GRANT
, if the transition to the specified state has occurred.
KSS_DENY
in the following cases:
Example
...
/* When forwarding a request to the Server entity, switch its associated finite-state machine to the "started" state */
request dst=Server {
service_flow.enter {sid: dst_sid, state: "started"}
}
Page top