File tree Expand file tree Collapse file tree
data-bus/src/main/java/com/iluwatar/databus Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535 * The Data Bus pattern
3636 * <p>
3737 * <p>{@see http://wiki.c2.com/?DataBusPattern}</p>
38+ * <p>
39+ * <p>The Data-Bus pattern provides a method where different parts of an application may
40+ * pass messages between each other without needing to be aware of the other's existence.</p>
41+ * <p>Similar to the {@code ObserverPattern}, members register themselves with the {@link DataBus}
42+ * and may then receive each piece of data that is published to the Data-Bus. The member
43+ * may react to any given message or not.</p>
44+ * <p>It allows for Many-to-Many distribution of data, as there may be any number of
45+ * publishers to a Data-Bus, and any number of members receiving the data. All members
46+ * will receive the same data, the order each receives a given piece of data, is an
47+ * implementation detail.</p>
48+ * <p>Members may unsubscribe from the Data-Bus to stop receiving data.</p>
3849 *
3950 * @author Paul Campbell (pcampbell@kemitix.net)
4051 */
You can’t perform that action at this time.
0 commit comments