You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consider adding a Service class which serves as a facade to a common Session instance. Multiple Service objects could target the same Session instance. A Service would take care of maintaining lists of scoped registrations/subscriptions specific to that service. When a Service is destroyed, it would automatically clean up its own RPC registrations and pub/sub subscriptions without affecting other running services. A Service could have its own URI prefix that is automatically prepended to registration/publication URIs.
Something like this has already been implemented in the closed-source parent project that uses this library.
The text was updated successfully, but these errors were encountered:
Consider adding a
Service
class which serves as a facade to a commonSession
instance. MultipleService
objects could target the sameSession
instance. AService
would take care of maintaining lists of scoped registrations/subscriptions specific to that service. When aService
is destroyed, it would automatically clean up its own RPC registrations and pub/sub subscriptions without affecting other running services. AService
could have its own URI prefix that is automatically prepended to registration/publication URIs.Something like this has already been implemented in the closed-source parent project that uses this library.
The text was updated successfully, but these errors were encountered: