CoreResourceDirectoryConfiguration class final
A configuration for performing discovery using a CoRE Resource Directory (RFC 9176).
Using this DiscoveryConfiguration, the underlying platform will first try to obtain a link to one or (when using multicast) more CoRE Resource Directory lookup interfaces. Then it will use these interfaces to obtain links that point to Thing Description resources and, as last step, try to retrieve the Thing Descriptions themselves.
- Inheritance
-
- Object
- DiscoveryConfiguration
- TwoStepConfiguration
- CoreResourceDirectoryConfiguration
- Annotations
-
- @experimental
Constructors
- CoreResourceDirectoryConfiguration(Uri baseUrl, {DiscoveryType discoveryType = DiscoveryType.thing, String coreLinkFormatPath = "/.well-known/core"})
- Instantiates a new CoreResourceDirectoryConfiguration object.
Properties
- discoveryType → DiscoveryType
-
Indicates whether this configuration is used for discovering Things or
Thing Description Directories.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uri → Uri
-
A Uri pointing to the resource where a directory's CoRE Link Format
links can be retrieved.
final
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