Definition of Facet Types
A Facet Type is a unit of capability (or method) represented by a piece of executable code (a Java class) intended to process a request. The facet type’s method selection is based on the facet lifecycle event model. In short, the TQLEngine invokes the appropriate facet type method using the current facet pipeline connection context and facet instance information as argument.
Facet Types in the TQLEngine
Name | Type Name | Description |
---|---|---|
Message | SffMsgFacet | Generic Message Communication. |
Network | SffNetworkFacet | TQLEngine cluster support. Define the list of TQLEngine(s) that can participate in syncing their data |
TQL | SffTqlFacet | Thing Query Language Support (Thing Definition, Thing Interaction) |
Workflow | SffWdlFacet | Workflow Language Support |
Behavior Trees | SffBdlFacet | Behavior Tree Implementation |
Topic | SffTopicFacet | Subscription and Notification of Model changes |
Scheduling | SffSequenceFacet | Schedule tasks / jobs (piece of Model code) to be executed in a repeated sequence of defined interval. |
Static Files | SffStaticFileFacet | Serve static files using TQLEngine. |
Message Facet Type
Message Facet Type is a generic Message processing over any given specified transport. Message Facet Type does not support any specific payload to process unlike other Facet types. Message Facet Type can be used process any payload that is passed to it.
PeripheralParams
<Def Name="PeripheralParams"> <String Name="Peripheral"/> <String Name="InterfacePort"/> <String Name="Interface"/> <String Name="UniqueId" default="56789"/> <String Name="Baudrate"/> <String Name="Format" default="ascii"/> <String Name="Operation"/> <String Name="Payload"/> </Def>