Skip to content

tcp_pubsub v2.0.0

Latest
Compare
Choose a tag to compare
@FlorianReimold FlorianReimold released this 27 Feb 08:44
4e1dd32

What's Changed

  • Added support for a list of publishers for Subsriber sessions. This e.g. enables support for mDNS alternative domain names by creating a session with a list [HOST:port, HOST.local:port]. API had to be changed and extended. @FlorianReimold in #29
    • ChangedPAI of Subscriber:
      • Added addSession(list) to support passing a list of possible endpoints. The Endpoints are traversed in the given order. The first endpoint that can be resolved is used.
    • Changed API of SubscriberSession:
      • Removed API getAddress() and `getPort()
      • New API: getPublisherList() to get the list of possible endpoints that the session was created with.
      • New API: getConnectedPublisher() to get address and port (as given on creation) that the session is connected to

Full Changelog: v1.0.6...v2.0.0