An RTserver process routes messages between RTclient processes. A key feature of SmartSockets is the ability to distribute RTserver and RTclient processes over a network. Different processes can be run on different computers, taking advantage of all the computing power a network has to offer. RTservers and RTclients can be dynamically started and stopped while the system is running.
The feature set of SmartSockets publish-subscribe architecture is layered on top of connections and messages, but adds greater function and ease of use. Some of these functions are listed below.
This chapter describes RTserver and RTclient composition, how to work with the RTclient Application Programming Interface (API), and how to work with RTserver. Monitoring is mentioned briefly here. See Chapter 5, Project Monitoring, for a full discussion on monitoring.
Most RTclients have a single, global connection to one RTserver. Generally, this is the only connection required, and this connection forms the basis for most RTclient-RTserver interactions. The focus of this chapter is on understanding this connection and the interactions involved. You should be thoroughly familiar with this connection and the relevant APIs before delving into more complex connections. Connecting to an RTgms process instead of an RTserver process for the single, global connection requires an understanding of multicasting and a special set of PGM options. For more information, see TIBCO SmartSockets Multicast. It is also possible to connect to multiple RTservers, using a special multiple connection instead of the global connection. However, this type of connection requires a completely different set of APIs, and each individual connection must be created and configured discretely. For more information, see Connecting to Multiple RTservers.
TIBCO SmartSockets™ User’s Guide Software Release 6.8, July 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |