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
Protocol options 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
dtlsCiphers String?
Can be used to specify the Ciphers that should be used by OpenSSL.
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
libCryptoInstance DynamicLibrary?
Custom libcrypto instance that can be registered if OpenSSL should not be available at the default locations.
no setter
libSslInstance DynamicLibrary?
Custom libssl instance that can be registered if OpenSSL should not be available at the default locations.
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
rootCertificates List<Uint8List>
List of custom root certificates to use with OpenSSL.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
useRandomIDStart bool
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