public class ProtonLinkOptions extends Object
Constructor and Description |
---|
ProtonLinkOptions() |
ProtonLinkOptions(JsonObject json)
Create options from JSON
|
Modifier and Type | Method and Description |
---|---|
String |
getLinkName() |
boolean |
isDynamic() |
ProtonLinkOptions |
setDynamic(boolean dynamic)
Sets whether the link remote terminus to be used should indicate it is
'dynamic', requesting the peer names it with a dynamic address.
|
ProtonLinkOptions |
setLinkName(String linkName) |
JsonObject |
toJson()
Convert to JSON
|
public ProtonLinkOptions()
public ProtonLinkOptions(JsonObject json)
json
- the JSONpublic JsonObject toJson()
public ProtonLinkOptions setLinkName(String linkName)
public String getLinkName()
public ProtonLinkOptions setDynamic(boolean dynamic)
ProtonLink.getRemoteAddress()
(or inspecting the remote
terminus details directly) after the link has remotely opened.dynamic
- true if the link should request a dynamic terminus addresspublic boolean isDynamic()
Copyright © 2020 Eclipse. All rights reserved.