votorola.a.register.trust
Class DoubtSignalNode

java.lang.Object
  extended by DoubtSignalNode
All Implemented Interfaces:
Serializable

@ThreadSafe
public final class DoubtSignalNode
extends Object
implements Serializable

A doubt signal and one of the list nodes it connects, which is either the source or the destination node (depending on the context).

See Also:
Serialized Form

Nested Class Summary
static interface DoubtSignalNode.Runner
          A routine that runs in the context of a doubt signal node.
 
Constructor Summary
DoubtSignalNode(DoubtSignal doubtSignal, ListNode listNode)
          Constructs a DoubtSignalNode.
 
Method Summary
 DoubtSignal doubtSignal()
          The doubt signal.
 ListNode listNode()
          The list node.
static Comparator<DoubtSignalNode> voter0Comparator()
          A comparator that sorts in alphabetical order of source voter.
static Comparator<DoubtSignalNode> voter1Comparator()
          A comparator that sorts in alphabetical order of destination voter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DoubtSignalNode

public DoubtSignalNode(DoubtSignal doubtSignal,
                       ListNode listNode)
Constructs a DoubtSignalNode.

Method Detail

doubtSignal

public DoubtSignal doubtSignal()
The doubt signal.


listNode

public ListNode listNode()
The list node.


voter0Comparator

public static Comparator<DoubtSignalNode> voter0Comparator()
A comparator that sorts in alphabetical order of source voter.


voter1Comparator

public static Comparator<DoubtSignalNode> voter1Comparator()
A comparator that sorts in alphabetical order of destination voter. Never tested.