ProtonPublisherOptions

Options for configuring Publisher attributes.

Constructors

this
this()
Undocumented in source.

Members

Functions

getLinkName
string getLinkName()
Undocumented in source. Be warned that the author may not have intended to support it.
getMaxOutstandingCredit
int getMaxOutstandingCredit()
Undocumented in source. Be warned that the author may not have intended to support it.
isDurable
bool isDurable()
Undocumented in source. Be warned that the author may not have intended to support it.
isDynamic
bool isDynamic()
Undocumented in source. Be warned that the author may not have intended to support it.
isGlobal
bool isGlobal()
Undocumented in source. Be warned that the author may not have intended to support it.
isShared
bool isShared()
Undocumented in source. Be warned that the author may not have intended to support it.
opEquals
bool opEquals(Object obj)
Undocumented in source. Be warned that the author may not have intended to support it.
setDurable
ProtonPublisherOptions setDurable(bool durable)

Sets whether the link to be used for the subscription should have 'source' terminus details indicating it is durable, that is a terminus-expiry-policy of "never" and terminus-durability of 2/unsettled-state, and that the link should detach rather than close when cancel is called on the subscription.

setDynamic
ProtonPublisherOptions setDynamic(bool dynamic)

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.

setGlobal
ProtonPublisherOptions setGlobal(bool global)

Sets whether the link to be used for a shared subscription should also have 'source' terminus capability indicating it is 'global', that is its subscription can be shared across connections regardless of their container-id values.

setLinkName
ProtonPublisherOptions setLinkName(string linkName)

Sets the link name to be used for the subscription.

setMaxOutstandingCredit
ProtonPublisherOptions setMaxOutstandingCredit(int maxOutstandingCredit)

Sets the maximum credit the consumer link will leave outstanding at a time. If the total unfilled subscription requests remains below this level, the consumer credit issued will match the unfilled requests. If the requests exceeds this value, the consumer link will cap it and refresh it once the level drops below a threshold or more requests are made. If not set a reasonable default is used.

setShared
ProtonPublisherOptions setShared(bool sd)

Sets whether the link to be used for the subscription should have 'source' terminus capability indicating it is 'shared'.

toHash
size_t toHash()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta