This example shows two sources sharing a channel using time-division
multiplexing (TDM). In the objects and
packets are generated and
served if the object has the token. The token stays with
or
until
one of the following two events occurs: (1) a timeout expires (the timeout is
the upper bound for the time an object can remain with the token) or (2) the
queue is empty. The Channel object manages the token. When there is no packets
to serve in the system, the token remains with the Channel object until a packet
is generated in
or
.
There are three objects in the model:
The TANGRAM-II description of the queue object is shown in
Figure .
Guilherme Dutra Gonzaga Jaime 2010-10-27