Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 27c8fa375310eb1c3c0b559103bb490d613581a5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
RoomModel ActorClassWithBindings {
	ProtocolClass MyProtocol {
		incoming {
			Message in1 ()
			Message in2 ()
		}
		outgoing {
			Message out1 ()
		}
	}
	
	ActorClass SubActor {
		Interface {
			Port fct: MyProtocol
		}
	}
	
	ActorClass MyActorClass {
		Interface {
			Port ip : MyProtocol
			Port xp : MyProtocol
		}
		Structure {
			conjugated Port sp : MyProtocol
			external Port xp

			ActorRef sub_a : SubActor
			ActorRef sub_b : SubActor
			
			Binding ip and sub_a.fct
			Binding sp and sub_b.fct
		}
	}
}

Back to the top