This repository has been archived by the owner on Sep 21, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
@managedport decorator for sm #50
Comments
Perhaps turn it into an annotation that applies to the interface definition? Maybe we should do that for sm registrations, too and just drop the |
Could you elaborate? You mean having something like this?
That would work. Though for versioning, we'd need to have something like a |
I mean
yeah, and then for regular registrations something like:
Now that I think about it, I don't know if a service has ever changed registration, but we could notate it like:
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
SwIPC currently defines that
IUserInterface is sm:
. However, this is not technically correct: to connect to sm:, we have to connect to the kernel-managed port "sm:", and not the sm-managed port. In fact, the kernel suports having multiple such managed ports (up to 7 of them).I propose we add a @managedport decorator to service definitions, so it turns into
IUserInterface is @managedport sm:
. It's kinda ugly, so any prettier proposal would be appreciated.The text was updated successfully, but these errors were encountered: