DefaultCoapConfig class abstract

Configuration loading class. The config file itself is a YAML file. The configuration items below are marked as optional to allow the config file to contain only those entries that override the defaults. The file can't be empty, so version must as a minimum be present.

Implementers

Constructors

DefaultCoapConfig()

Properties

ackRandomFactor double
The initial timeout is set to a random number between RESPONSE_TIMEOUT and (RESPONSE_TIMEOUT * RESPONSE_RANDOM_FACTOR)
no setter
ackTimeout int
The initial time (ms) for a CoAP message
no setter
ackTimeoutScale double
no setter
blockwiseStatusLifetime int
no setter
channelReceivePacketSize int
no setter
cropRotationPeriod int
no setter
deduplicator String
no setter
defaultPort int
The default CoAP port for normal CoAP communication (not secure).
getter/setter pair
defaultSecurePort int
The default CoAP port for secure CoAP communication (coaps).
getter/setter pair
dtlsBackend DtlsBackend?
Indicates which DtlsBackend a new CoapClient should use.
no setter
dtlsCiphers String?
Can be used to specify the Ciphers that should be used by OpenSSL.
no setter
dtlsUseOpenSSL bool
Whether OpenSSL bindings via the dtls package should be used for CoAPS.
no setter
dtlsVerify bool
Whether certificates should be verified by OpenSSL.
no setter
dtlsWithTrustedRoots bool
Whether OpenSSL should be used with trusted Root Certificates.
no setter
exchangeLifetime int
no setter
hashCode int
The hash code for this object.
no setterinherited
httpPort int
The port which HTTP proxy is on.
no setter
markAndSweepInterval int
no setter
maxMessageSize int
no setter
maxRetransmit int
The max time that a message would be retransmitted
no setter
notificationCheckIntervalCount int
no setter
notificationCheckIntervalTime int
no setter
notificationMaxAge int
no setter
notificationReregistrationBackoff int
no setter
poolUdpConnectionsByClient bool
no setter
preferredBlockSize int
The preferred size of block in blockwise transfer.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spec → CoapISpec
The CoAP specification derived from the protocol version.
no setter
tinyDtlsInstance TinyDTLS?
Custom TinyDTLS instance that can be registered if tinyDTLS should not be available at the default locations.
no setter
useRandomIDStart bool
no setter
version String
Protocol options The version of the CoAP protocol.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited