CoapConfigDefault class

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.

Inheritance

Constructors

CoapConfigDefault()

Properties

ackRandomFactor double
The initial timeout is set to a random number between RESPONSE_TIMEOUT and (RESPONSE_TIMEOUT * RESPONSE_RANDOM_FACTOR)
no setterinherited
ackTimeout int
The initial time (ms) for a CoAP message
no setterinherited
ackTimeoutScale double
no setterinherited
blockwiseStatusLifetime int
no setterinherited
channelReceivePacketSize int
no setterinherited
cropRotationPeriod int
no setterinherited
deduplicator String
no setteroverride
defaultPort int
Protocol options The default CoAP port for normal CoAP communication (not secure).
getter/setter pairinherited
defaultSecurePort int
The default CoAP port for secure CoAP communication (coaps).
getter/setter pairinherited
dtlsCiphers String?
Can be used to specify the Ciphers that should be used by OpenSSL.
no setterinherited
dtlsVerify bool
Whether certificates should be verified by OpenSSL.
no setterinherited
dtlsWithTrustedRoots bool
Whether OpenSSL should be used with trusted Root Certificates.
no setterinherited
exchangeLifetime int
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
httpPort int
The port which HTTP proxy is on.
no setterinherited
libCryptoInstance DynamicLibrary?
Custom libcrypto instance that can be registered if OpenSSL should not be available at the default locations.
no setterinherited
libSslInstance DynamicLibrary?
Custom libssl instance that can be registered if OpenSSL should not be available at the default locations.
no setterinherited
markAndSweepInterval int
no setterinherited
maxMessageSize int
no setterinherited
maxRetransmit int
The max time that a message would be retransmitted
no setterinherited
notificationCheckIntervalCount int
no setterinherited
notificationCheckIntervalTime int
no setterinherited
notificationMaxAge int
no setterinherited
notificationReregistrationBackoff int
no setterinherited
poolUdpConnectionsByClient bool
no setterinherited
preferredBlockSize int
The preferred size of block in blockwise transfer.
no setterinherited
rootCertificates List<Uint8List>
List of custom root certificates to use with OpenSSL.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
useRandomIDStart bool
no setterinherited

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