|
|
|
Description | Graphical Notation | Textual Notation |
|
|
|
The layer
connections in this
model define which
services are provided
by the ServiceLayer
(digitalIO and
timer)
| |
ActorClass Mode1 { Structure { ActorRef Services: ServiceLayer ActorRef Application: ApplicationLayer LayerConnection ref Application satisfied_by Services.timer LayerConnection ref Application satisfied_by Services.digitalIO } }
|
|
|
|
The
implementation of
the services (SPPs)
can be delegated to
sub actors. In this
case the actor
ServiceLayer relays
(delegates) the
implementation
services digitalIO
and timer to sub
actors
| |
ActorClass ServiceLayer { Interface { SPP timer: TimerProtocol SPP digitalIO: DigitalIOProtocol } Structure { ActorRef Timer: TimerService ActorRef DigIO: DifitalIOService LayerConnection relay_sap timer satisfied_by Timer.timer LayerConnection relay_sap digitalIO satisfied_by DigIO.digitalIO } }
|
|
|
|
Every Actor inside
the
ApplicationLayer
that contains an
SAP with the same
protocol as timer or
digitalIO will be
connected to the
specified SPP
| |
ActorClass ApplicationLayer { Structure { ActorRef function1: A ActorRef function2: B ActorRef function3: C ActorRef function4: D } } ActorClass A { Structure { SAP timerSAP: TimerProtocol } } ActorClass B { Structure { SAP timerSAP: TimerProtocol SAP digitalSAP: DigitalIOProtocol } }
|
|
|
|
|