Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 6a608fc09544bf164fbf43588a5142491742a60b (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 Base {
		Interface {
			Port p: MyProtocol
		}
		Behavior {
			StateMachine {
				State sBase {}
			}
		}
	}
	
	ActorClass Derived extends Base {
		Behavior {
			StateMachine {
				State s {}
				State y {}
				RefinedState sBase {}
			}
		}
	}
}

Back to the top