The abstract base class
Phase
derived from
Entity
. The class
StdPhase
is used to
model service units. The service time of
UnitPhase
(unit refers here to information unit) is
proportional to the length specified in
Message
and therefore models a link
with a fixed bandwidth. The service time of
StdPhase
is obtained independent of the length
of a packet by a distribution.
In the following, the detailed characteristics are described:
-
Phase
is implemented with the help of
Event
and
InputMessageHandler
, private derivation.
- The time intervals of the events, that represent the end of service are determined with the
help of a continuous distribution, that must be delivered as a reference with
StdPhase
upon constructor call.
- In
StdPhase
the distribution can be read by the parser.
- State of the phase (free or busy) decides if arriving messages at the input port can be
accepted or not (class
InputPort
).
- Upon end of service the serviced message is sent to the succeeding service unit via the output
port (class
SynchronousOutputPort
), whereby blocking must be
avoided.