model test {
description "This is my first model using the UML-RT textual syntax"
protocol Control {
out message request();
in message response();
}
capsule Client {
port pc: Control;
statemachine {
initial ClientInitial
state ClientActive
transition Initial from ClientInitial to ClientActive action 'pc.request().send();';
}
}
capsule Server {
conjugate port ps : Control;
statemachine {
initial ServerInitial
state ServerActive
transition Initial from ServerInitial to ServerActive action '';
transition from ServerActive to ServerActive triggers { on request from { ps }} action 'ps.response().send();';
}
}
capsule Top {
fixed part client : Client;
fixed part server : Server;
}
}
As you can see, the use of semicolon, feels a bit inconsistent. Could you look through this in general. Personally I do not have a strong preference in any direction, as long as it is consistent.
I actually read a article on DZone just the other day, regarding this about the use of semicolon in modern languages, which I guess fits this context pretty well I guess! :)
/Peter Cigéhn