![]() ![]() This Java-Class/Artifact-Type provides a uniform usage interface to trigger Actions via a uniform operation act(OpFeedbackParam,actionName,inputData), where actionName is a String that is a key of Acts map, OpFeedBackParam and inputData are objects of type TdData (see figure 10 in Appendix D) that follows input/output schema identified in the action form. generic artifact type (shown in figure 7) which is written in CArtAgO, can be instantiated via URI of a TD, the init operation uses the parser to get an object structure named device that represents this thing (see figure 9 in Appendix D), based on this structure it determines what are the Observable_Properties, Operations, and Actions that will be included in the instance, it adds all Observable properties dynamically via defineObsProperty(name,value), puts all Operations/Actions in Acts HashMap indexed by operation name, Events in evts HashMap in the same way.
0 Comments
Leave a Reply. |