change_state


Description:

public virtual StateChangeReturn change_state (StateChange transition)

Perform transition on this.

This function must be called with STATE_LOCK held and is mainly used internally.

Parameters:

this

a Element

transition

the requested transition

Returns:

the StateChangeReturn of the state transition.