SignalingCode enum
Enumerates the currently specified values for signaling codes (see RFC 8323, section 5.1).
Constructors
- SignalingCode(int codeClass, int codeDetail, String description)
-
const
Values
- csm → const SignalingCode
-
7.01 CSM
Defined in RFC 8323.
const SignalingCode(7, 01, 'CSM')
- ping → const SignalingCode
-
7.02 Ping
Defined in RFC 8323.
const SignalingCode(7, 02, 'Ping')
- pong → const SignalingCode
-
7.03 Pong
Defined in RFC 8323.
const SignalingCode(7, 03, 'Pong')
- release → const SignalingCode
-
7.04 Release
Defined in RFC 8323.
const SignalingCode(7, 04, 'Release')
- abort → const SignalingCode
-
7.05 Abort
Defined in RFC 8323.
const SignalingCode(7, 05, 'Abort')
Properties
- coapCode → CoapCode
-
Returns the CoapCode representing this SignalingCode.
no setter
- codeClass → int
-
The code class of this SignalingCode (always 7).
final
- codeDetail → int
-
The code detail of this SignalingCode (in the range of 1 to 5).
final
- description → String
-
A human-readable description of this SignalingCode.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
decode(
int code) → SignalingCode? -
Returns the SignalingCode corresponding with a numeric
code
(if defined). -
fromCoapCode(
CoapCode code) → SignalingCode? - Returns the SignalingCode corresponding with a given CoapCode (if defined).
Constants
-
values
→ const List<
SignalingCode> - A constant List of the values in this enum, in order of their declaration.