|
Bees v0.5.0 API | |||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Class Summary | |
ConfigurationCapsule | Capsule used to tell neighbors about the path to the root of the tree. |
MulticastCapsule | A MulticastCapsule is a base class for Capsule types that will be multicast from the server node to the clients. |
PathfinderBootCapsule | Boot capsule used when the pathfinder is acting alone (not a companion). |
PathfinderParameters | PathfinderParameters holds any arguments to the pathfinder flow. |
PathfinderProtocol | The PathfinderProtocol is a simple routing protocol that builds a tree of nodes for forwarding client packets to a server and multicasting server packets to the clients. |
PathfinderSession | PathfinderSession tracks any state global to the pathfinder protocol. |
SinkCapsule | A SinkCapsule is a base class for Capsule types that originate at the leafs of the pathfinder tree and are directed toward the root. |
A simple routing protocol that builds a tree of nodes for forwarding client packets to a server and multicasting server packets to the clients. Pathfinder is an extremely simple routing protocol, it does not require unique addresses for nodes, its only job is to direct traffic to a single root node. While, this is not particularly useful for large and complex networks, it works well enough for protocols that are primarily unidirectional towards the server, like health. In addition, it makes a great example for user defined companion protocols.
Pathfinder functions like a spanning tree protocol, each node broadcasts a ConfigurationCapsule that contains the number of hops to the root node. When one of these capsules is received, the node compares the number of hops against any previously seen capsules and makes a decision:
In addition to the normal class files, the protocol also carries the
ConfigurationCapsule
.
ConfigurationCapsule
is received.
|
Bees v0.5.0 API | |||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |