Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved


Chapter 3 Fundamentals : Subject-Based Addressing and Message Destinations

Subject-Based Addressing and Message Destinations
Rendezvous programs communicate by sending messages. Each message bears a subject name, which simultaneously specifies a delivery mode and the destination of the message:
An inbox name specifies point-to-point delivery (also called unicast delivery) and a unique destination process.
The process can receive several copies of the message by creating several listener events that listen to the same inbox name. Two processes cannot share an inbox name.
Any other subject name is called a public subject name, and specifies multicast (or broadcast) delivery to a destination set. The destination set includes all programs that listen to that subject name; the set can be large, small, or empty, depending upon the number of listeners.
Public subject names usually describe the content or subject of the message. The sender need not know which programs are listening when it sends a message—just as a radio disc jockey in a studio does not know who is listening at a particular moment in time.
 
Whether point‑to‑point or multicast, Rendezvous communication is always anonymous. Senders publish messages addressed to subject names, rather than specific computers, programs or sockets. Receivers subscribe to subject names (and receive all messages addressed to those names), rather than establishing unique communications pathways with senders.
Subject naming conventions are a key part of distributed system design in most Rendezvous applications. Subject naming conventions define a uniform name space for messages and their destinations. Subject-based addressing technology helps messages reach their destinations without involving programmers in the details of network addresses, subscription lists, ports and sockets.
Both multicast and point-to-point messages can flow over several types of transport mechanisms. For details, see Transport Scope, and Constructing the Network Parameter.
Virtual Circuit
Virtual circuits are special, and behave contrary to the general rule. All messages on a virtual circuit travel point-to-point, whether the subject is an inbox name or a public subject name.
See Also
Subject Names

Copyright © Cloud Software Group, Inc. All Rights Reserved
Copyright © Cloud Software Group, Inc. All Rights Reserved