SendMessage
The SendMessage
is a block used to send messages to one or multiple targets using added MessageArgument
outputs.
Usage
SendMessage supports adding multiple MessageArgument outputs and multiple Argument inputs.
When user-added input arguments exist they are added to the data partition of the message. Depending on the message Command the encoding of the arguments is as follows:
- for any CM_TEXTCOMMAND the data is encoded as semicolon-separated argument name and value key-value pairs "
Speed=10;Distance=15
". - for any binary command the data is encoded as network byte-ordered raw data bytes in the current argument order.
Object API
TriggerOn | Flags option defining when a message should be sent.
|
Trigger | Argument that is used to trigger message sending according to set flags in TriggerOn property |
Note: No messages will be delivered until all MessageArgument(s) are connected. While not connected triggers will arm the sender, causing a message to be sent when all MessageArgument have become connected.
See also MessageArgument, ReceiveMessage, and MessageProxy.
Get started with CDP Studio today
Let us help you take your great ideas and turn them into the products your customer will love.