ProtonPublisherOptions.setDynamic

Sets whether the link to be used for the subscription should indicate a 'dynamic' source terminus, requesting the server peer names it with a dynamic address. The remote address can then be inspected using {@link ProtonPublisher#getRemoteAddress()} (or inspecting the remote source details directly) when the onSubscribe() handler is fired.

@param dynamic true if the link should request a dynamic source address @return the options

class ProtonPublisherOptions
setDynamic
(
bool dynamic
)

Meta