send
send a message to RTserver for distribution
Supported for RTmon only:
The send
command constructs a message and sends it to RTserver for distribution to all RTclient processes subscribing to the destination subject. The message is specified in RTworks message file format. The outgoing message is not buffered, but is flushed immediately to RTserver for distribution. For information on message format, see Message Files.
The send
command causes RTmon to connect to RTserver if it has not already done so. To prevent irreversible damage to your SmartSockets system, this command should not be specified with the Enable_Control_Msgs option without careful supervision.
/* Send a message we won’t get. */
MON>send numeric_data
eps
x
1
Sent numeric_data message to /eps subject. MON>subscribe eps
Start subscribing to subject /eps./* Send a message we will get. */
MON>send numeric_data
eps
{
y 2 z 3 }
Sent numeric_data message to /eps subject. MON>run 1
/* Default action for unexpected messages is to print out the message. */
Received an unexpected message. type = numeric_data sender = </workstation1.talarian.com_5031> sending server = </workstation1.talarian.com_4982> dest = </eps> max = 2048 size = 64 current = 0 read_only = false priority = 0 delivery_mode = best_effort ref_count = 1 seq_num = 0 resend_mode = false user_prop = 0 data (num_fields = 4): str "y" real8 2 str "z" real8 3 Processed a numeric_data message.
TIBCO SmartSockets™ User’s Guide Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |