SmartSockets options are retrieved from Java Properties databases. These databases take the form of text files containing key-value pairs, one entry per line. The "key" string may contain periods (.) to indicate property hierarchies, and all SmartSockets options reside in the "ss." hierarchy. For example, two of the standard SmartSockets options properties are defined in the property database:
Note that option names and values are case-sensitive and can be presented in any order. Options properties should appear only once in the property database. If multiple instances of an option appear with conflicting properties, the last key-value pair in the database is used, overriding any earlier settings. Option databases can contain values for the standard RTclient options, and user-defined settings.
The options follow standard Java property conventions. For example, you can use a pound sign (#) to comment out a line in a file.
TIBCO SmartSockets™ Java Library User’s Guide and Tutorial Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |