TSM Fields
The TSM type exposes the following members.
Fields
Name | Description | |
---|---|---|
CST |
Costing History of the Telegram
|
|
ENG |
Engine (Plugin-Service Class) name that owns this message
|
|
FID |
Serial Number of the Message.
Do NOT set! This is managed by the C-DEngine
|
|
FLG |
16 Flags for the message each bit has impact on how the message is transported or interpreted The default is zero (Off) on all flags.
|
|
GRO |
The GRO contains the reverse route back to the originator of a message. Nodes will try to send the message back along the route to the originator skipping other nodes in the mesh. If GRO is empty, the normal mesh publishing rules apply.
|
|
LVL |
Message Content Level (see eMsgLevels)
|
|
ORG |
List of Originators of the Message separated by ;
The first entry is always the "Birth" place or "Originator" of the message.
The first entry can also optionally include the identifier (cdeMID) of the originating thing, which can be used to send a reply to the originator via TheCommCore.PublishToOriginator.
The Last entry is always the "LastRelay" to transmit the message and is also seen as the "FirstNode" (from the point of view of the receiver)
Note: The ORG field should not be manipulated or parsed directly, but only through the *Originator* methods on the TSM class.
|
|
OWN |
The Thing Owner of the Message - should match the cdeO Meta Property
|
|
PLB |
Payload Binary of the Message. If PLB is NULL and PLS is set, the PLS will be compressed to binary and put in PLB for footprint reduction.
If PLB is not NULL and PLS is NULL the C-DEngine will assume that the PLB contains a compressed string and uncompresses PLB to PLS automatically during receiving.
If you want to send a custom PLB binary blob, set PLS to some description of the PLB content.
|
|
PLS |
String Payload of the Message. In oposite to the TXT this string has no character limit
|
|
QDX |
Queue Priority
The Lower the number the higher the priority of the telegram
Default is 5
QDX=0 will NOT be relayed via a cloud node and is reserved for real-time service-to-service communication between on-premise nodes
|
|
SEID |
Session ID corresponding to this message.
DO NOT SET! The C-DEngine is managing this value
This parameter is NEVER sent to a JSON/HTML5 client
|
|
SID |
Scrambled Scope ID of this message.
use TheCommonUtils.GetScrambledScopeID() to set this field
This parameter is NEVER sent to a JSON/HTML5 client
|
|
TIM |
Timestamp of the Message. Will be set to DateTimeOffset.Now on creation of the message but can be overwritten
|
|
TXT |
Text of the Message - used for Commands or other short message strings
Maximum length for transmission is 476 Characters!
|
|
UID |
User GUID of this message.
Can be used to validate messages on other nodes against centrally managed users
This parameter is NEVER sent to a JSON/HTML5 client
|