-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JCF: Issue #534: deal with loopbacks in application plots #535
JCF: Issue #534: deal with loopbacks in application plots #535
Conversation
The problem this commit deals with is basically, if you have a module which subscribes on the network to a wildcarded message (say "msg_.*") and another module in the same application which sends a version of message that matches the wildcard (say "msg_A") out onto the network, then how do you plot that? Previously, when plotting, the logic in the plotter didn't care about whether a message was sent onto the network. So it was drawing a connection between the modules making it look as if they communicated via a queue. With this commit, if we're plotting an application, a message gets correctly represented as being sent out over the network, and as being received from the network (with the usual "X" and "O" to represent "region outside of this diagram").
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is an improvement. Now the potential issue is that users must connect the outgoing connection to the incoming one themselves
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the new version of the MLT-focussed view, at first it wasn't obvious to me what I was seeing. However, after re-rereading Eric's comments and looking at it a little more, I figured it out.
In the end, I agree that this is an improvement. It will probably be good to educate people that sometimes we need to look for fully-specified outputs (e.g. X = tcs_random-tc-generator) that match wildcard inputs (e.g. O = tcs_*) to get all of the connections clear...
The problem this commit deals with is basically, if you have a module which subscribes on the network to a wildcarded message (say "msg_.*") and another module in the same application which sends a version of message that matches the wildcard (say "msg_A") out onto the network, then how do you plot that?
Previously, when plotting, the logic in the plotter didn't care about whether a message was sent onto the network. So it was drawing a connection between the modules making it look as if they communicated via a queue. With this commit, if we're plotting an application, a message gets correctly represented as being sent out over the network, and as being received from the network (with the usual "X" and "O" to represent "region outside of this diagram").