Next: Indirect multiple out events, Previous: Indirect in event, Up: Execution Semantics [Contents][Index]
A requires port out-event (r.b) posted in the context of a
provides port in-event (p.a) call is processed before the
provides port in-event (p.a) returns.
interface I
{
in void a ();
out void b ();
behavior
{
on a: b;
}
}
component indirect_out
{
provides I p;
requires I r;
behavior
{
on p.a (): r.a ();
on r.b (): p.b ();
}
}