CoapConstants class

Package wide constants

Constructors

CoapConstants()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
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

Static Properties

defaultWellKnownURI Uri
Default URI for well known resource
final
emptyToken → Uint8Buffer
Empty token
final

Constants

ackRandomFactor → const double
The initial timeout is set to a random number between RESPONSE_TIMEOUT and (RESPONSE_TIMEOUT * RESPONSE_RANDOM_FACTOR)
ackTimeout → const int
The initial time (ms) for a CoAP message
defaultMaxAge → const int
Max age
defaultPort → const int
The default CoAP port for normal CoAP communication (not secure).
defaultSecurePort → const int
The default CoAP port for secure CoAP communication (coaps).
maxRetransmit → const int
The max times that a message would be retransmitted
preferredBlockSize → const int
Default preferred size used for block-wise transfers
secureUriScheme → const String
The CoAPS URI scheme.
tokenLength → const int
Token length
uriScheme → const String
The CoAP URI scheme.