-
Notifications
You must be signed in to change notification settings - Fork 1
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
Port: Is it needed? #7
Comments
This bring a few questions:
|
My suggestion is to use "export" (or maybe "public", or "port" itself) keyword:
About the questions, one solution is to use the same behavior of NCL: 1. anyone that has access to the context, will have access to its exported (or "public" or "ported") media objects; and 2. all exported media (or public or ported media) objects will be started when the context is started. Another issue that we must be aware of is that the original NCL element has two attributes: component and interface. By using one of the above keywords we are supporting the component attribute. How do we support the interface attribute? |
Implemented with commit 8ed1d92 Still needs more tests though |
Another possibility that we haven't discussed yet is:
|
Another option:
This way, the ports of m1 and m3 are generated automatically,while the m2 one is "pC1M2" |
For now, the port is like it used to be
|
An element can be declared as :
option 1:
option 2:
option 3:
And then the elements external to c1 have access to the media1.
The text was updated successfully, but these errors were encountered: