public class ConnectionId extends Object implements VisitableConfig
| Modifier and Type | Field and Description |
|---|---|
Integer |
connectionIdLength
Local connection ID length in [Bytes].
|
boolean |
updateAddressOnNewerRecords
Update the ip-address from CID records only for newer records.
|
| Constructor and Description |
|---|
ConnectionId() |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ConfigVisitor visitor)
Accept visitor.
|
boolean |
equals(Object obj) |
int |
hashCode() |
@Parameter @Optional @Summary(value="Local connection ID length in [BYTES]. \nWhen empty remote peers connection ID is used only. \nWhen set it\'s recommended to have 100 time more values than peers. \nE.g. 65000 peers then choose at least 3 bytes.") @Expression(value=NOT_SUPPORTED) @ParameterDsl(allowReferences=false) public Integer connectionIdLength
@Parameter @Optional(defaultValue="true") @Summary(value="Update the ip-address from CID records only for newer records.") @Expression(value=NOT_SUPPORTED) @ParameterDsl(allowReferences=false) public boolean updateAddressOnNewerRecords
public void accept(ConfigVisitor visitor) throws ConfigException
accept in interface VisitableConfigvisitor - The visitor of the configuration object.ConfigException - When the visit was not successful.public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class ObjectObject.hashCode()Copyright © 2019–2024 Teslanet.nl. All rights reserved.