State s inherits
Transition s from
their parent. A
State can override any of the parents
Transition s. When an
Event is processed the
Transition s
of the current
State will be searched for a
Transition which
can handle the event. If none is found the
State 's parent will be
searched and so on.
author: The Apache MINA Project (dev@mina.apache.org) version: $Rev: 586108 $, $Date: 2007-10-18 14:05:07 -0600 (Thu, 18 Oct 2007) $
Adds an outgoing
Transition to this
State with the
specified weight. The higher the weight the less important a
Transition is. If two
Transition s match the same
Event the
Transition with the lower weight will
be executed.
Parameters: transition - the Transition to add. this State.