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.
- Added
- 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
- Removed API
- ChangedPAI of
Full Changelog: v1.0.6...v2.0.0