You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Accepts a ThingDescription and returns a ConsumedThing
@@ -31,47 +50,20 @@ declare namespace WoT {
31
50
* Dictionary that represents the constraints for discovering Things as key-value pairs.
32
51
*/
33
52
exportinterfaceThingFilter{
34
-
/**
35
-
* The method field represents the discovery type that should be used in the discovery process. The possible values are defined by the DiscoveryMethod enumeration that can be extended by string values defined by solutions (with no guarantee of interoperability).
36
-
*/
37
-
method?: DiscoveryMethod|string;// default value "any", DOMString
38
-
/**
39
-
* The url field represents additional information for the discovery method, such as the URL of the target entity serving the discovery request, such as a Thing Directory or a Thing.
40
-
*/
41
-
url?: string;
42
-
/**
43
-
* The query field represents a query string accepted by the implementation, for instance a SPARQL query.
44
-
*/
45
-
query?: string;
46
53
/**
47
54
* The fragment field represents a template object used for matching against discovered Things.
48
55
*/
49
56
fragment?: object;
50
57
}
51
58
52
-
/** The DiscoveryMethod enumeration represents the discovery type to be used */
53
-
exportenumDiscoveryMethod{
54
-
/** does not restrict */
55
-
"any",
56
-
/** for discovering Things defined in the same Servient */
57
-
"local",
58
-
/** for discovery based on a service provided by a Thing Directory */
59
-
"directory",
60
-
/** for discovering Things in the same/reachable network by using a supported multicast protocol */
61
-
"multicast"
62
-
}
63
-
64
59
/**
65
60
* The ThingDiscovery object is constructed given a filter and provides the properties and methods
0 commit comments