ostore.tapestry.impl
Class TapestryVerifier.Tree
java.lang.Object
|
+--ostore.tapestry.impl.TapestryVerifier.Tree
- Enclosing class:
- TapestryVerifier
- public class TapestryVerifier.Tree
- extends Object
Organizes guids into a tree-like data structure that makes it
easy to tell who should know about each other.
Method Summary |
void |
add(SecureHash guid)
Add this new node into the graph |
LinkedList |
matches(SecureHash guid,
int digit,
int value)
Return all nodes that could be in this guid's routing table
at that particular digit, for that value, including itself |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TapestryVerifier.Tree
public TapestryVerifier.Tree()
add
public void add(SecureHash guid)
- Add this new node into the graph
matches
public LinkedList matches(SecureHash guid,
int digit,
int value)
- Return all nodes that could be in this guid's routing table
at that particular digit, for that value, including itself