Skip to main content
summaryrefslogtreecommitdiffstats
blob: 69dc16af59a2a91fa389e46aed759111bd978d1b (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
RoomModel test {
	ProtocolClass MyProtocol {
		incoming {
			Message in1()
		}
		outgoing {
		}
	}
	
	ActorClass A {
		Interface {
			Port p: MyProtocol
		}
	}

	ActorClass B {
		Interface {
			Port p: MyProtocol
		}
	}

	ActorClass C {
		Structure {
			ActorRef a: A
			ActorRef b: B
			
			Binding a.p and b.p
		}
	}
}

Back to the top