public class NotificationParams extends Object implements VisitableConfig
| Modifier and Type | Field and Description |
|---|---|
Integer |
checkIntervalCount
The maximum number of notifications that may pass before a Confirmable notification must be sent to an
observing client, to verify that this client is listening.
|
String |
checkIntervalTime
The time that may pass sending only Non-Confirmable
notifications to an observing client.
|
Integer |
maxObserves
The maximum number of observes supported on the CoAP server endpoint.
|
String |
reregistrationBackoff
The time a client waits for re-registration after Max-Age is expired.
|
| Constructor and Description |
|---|
NotificationParams() |
@Parameter @Optional(defaultValue="50000") @Summary(value="The maximum number of observes supported on the CoAP server endpoint.\nA negative value indicates unlimited.") @Expression(value=NOT_SUPPORTED) @ParameterDsl(allowReferences=false) public Integer maxObserves
@Parameter @Optional(defaultValue="2m") @Summary(value="The time that may pass sending only Non-Confirmable notifications to an observing client. \nAfter this period the first notification will be Confirmable to verify the client is listening.") @Expression(value=NOT_SUPPORTED) @ParameterDsl(allowReferences=false) public String checkIntervalTime
@Parameter @Optional(defaultValue="100") @Summary(value=" The maximum number of notifications that may pass before a Confirmable notification must be sent to an observing client, to verify that this client is listening.") @Expression(value=NOT_SUPPORTED) @ParameterDsl(allowReferences=false) public Integer checkIntervalCount
@Parameter @Optional(defaultValue="2s") @Summary(value="The time a client waits for re-registration after Max-Age is expired.") @Expression(value=NOT_SUPPORTED) @ParameterDsl(allowReferences=false) public String reregistrationBackoff
public void accept(ConfigVisitor visitor) throws ConfigException
accept in interface VisitableConfigvisitor - The visitor of the configuration object.ConfigException - When the visit was not successful.Copyright © 2019–2025 Teslanet.nl. All rights reserved.