Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We should support a optional and configurable timeout for the Links. If the Links are not Attached for more than the timeout they should be removed from the LinkRegistry.

Also see attached IRC conversation between Rob and Lorenz.

LinkRegistry

The LinkRegistry is responsible for ensuring Link uniqueness and persistence.

...

  • getSendingLink(String remoteContainerId, String linkName) -> Link
    Always returns a non-null link. The session is responsible for checking that the link has valid Source and Targets.
    Needs to be thread-safe safe (e.g., two calls with the same arguments should return the same object)
  • getReceivingLink(String remoteContainerId, String linkName) -> Link
    See  #getSendingLink()

...