- RTserver runs as a background (detached) process.
- By default, a client program tries to connect to an RTserver process on its same node. A client program can connect to an RTserver on another node by setting the ss.server_names option.
- The ss.project option is used by RTclients to prevent processes in another project from communicating with them.
- Subjects are logical addresses set as the destination property of a message. Subjects are used by RTserver to dynamically route messages to all RTclients subscribed to that subject. This allows a single message to be delivered to multiple RTclients with a single operation.
- Subjects are the fundamental unit used by SmartSockets to implement publish-subscribe services.
- Subject names can be specified in a hierarchical manner, and to any number of levels, for example,
/company/software/tibco
.
- Rather than deliver a message to all RTclients that have subscribed to a subject, a message can be delivered to only one of a set of RTclients using load balancing.
- Load balancing can be set on a per-message or per-message-type basis.
- Wildcards, asterisks (
*
) and ellipsis (...), can be used when subscribing or publishing to a subject.
- Always be sure to call the TipcSrv’s destroy method before your program exits to disconnect from RTserver and flush any messages still in the buffer.