setnopt
view or set the value of a named option
Supported for RTclient:
The setnopt
command is used to view or set the value of a named option. Named options allow a group of options and their values to be associated with an arbitrary name. You must specify that arbitrary name when using the setnopt
command. If the name has not been associated with that option before, the setnopt
command creates the association in addition to displaying or setting the option’s value. The setnopt
command can be called in these ways:
setnopt
name option value
When called with option
and value
, setnopt
sets option
to the new value and associates option
with name
if option
has not been associated with name
previously.
setnopt
name option
When called with option
but no value
, setnopt
displays the option name and its current value and associates option
with name
if option
has not been associated with name
previously.
setnopt
name
When called without option
or value
, setnopt
displays all RTclient options of the specified name and their current values.
If an option’s value is a list of items, the items must be separated with commas (value1, value2, ...
).
To prevent irreversible damage to your SmartSockets system, this command should not be specified with the Enable_Control_Msgs option without careful supervision.
Within a command file, two sets of named options are created:
/* Option values for name client_1 */
setnopt client_1 unique_subject /trader_1 setnopt client_1 server_names tcp:moe, tcp:larry, tcp:curly/* Option values for name client_2 */
setnopt client_2 unique_subject /trader_2 setnopt client_2 server_names tcp:moe, tcp:larry, tcp:curly
TIBCO SmartSockets™ User’s Guide Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |