File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
data-bus/src/main/java/com/iluwatar/databus Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 35
35
* The Data Bus pattern
36
36
* <p>
37
37
* <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>
38
49
*
39
50
* @author Paul Campbell (pcampbell@kemitix.net)
40
51
*/
You can’t perform that action at this time.
0 commit comments