资 源 简 介
The library is based off a simple component designed to facilitate a chain of command notification system between entities. Entities can be tied into a network by creating a Link and connecting it to another Link (or by implementing the Link interface). Link components pass messages up to parents and down to a specific child, the idea being any parent can handle or interpret a message, stop it, or pass it up to its parents, while child nodes in the network receive messages by address only. Each link has an id which is used to build the origin path of a message as it travels up the chain, or for directing messages down the chain. The end result is a mixed graph network where messages sent up travel undirected to all parents, while messages sent down travel along directed vertexes to an addressed destination.
The primary benefit to this approach is simplicity and control. The Link component is designed to facilitate inter-app communication without imposin