votorola.a.register.trust
Class TrustTrace

java.lang.Object
  extended by TrustTrace

public class TrustTrace
extends Object

A trace of trust edges.


Constructor Summary
TrustTrace(TrustEdge.Table trustEdgeTable)
          Constructs a TrustTrace.
 
Method Summary
 void extendLevelChange(ListNodeC node0, int old0Level)
          Extends a change in trust level from the specified node.
(package private)  TrustEdge.Table trustEdgeTable()
          The trust-edge table for this trace.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrustTrace

public TrustTrace(TrustEdge.Table trustEdgeTable)
Constructs a TrustTrace.

Parameters:
trustEdgeTable - per trustEdgeTable()
Method Detail

extendLevelChange

public void extendLevelChange(ListNodeC node0,
                              int old0Level)
                       throws SQLException
Extends a change in trust level from the specified node. Does nothing if no change actually occured (current level equals old0Level). Otherwise, recursively extends the change into the network. For this to work, the node table must already contain a node for each registered voter. Furthermore, each trust edge that is barred must already be marked as barred.

Parameters:
node0 - a source node
old0Level - its trust level prior to the change
Throws:
SQLException

trustEdgeTable

TrustEdge.Table trustEdgeTable()
The trust-edge table for this trace.