|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectDoubtSignal.Table
@ThreadSafe public static final class DoubtSignal.Table
A relational store of doubt signals, backing an electoral register's doubt signaling network.
| Constructor Summary | |
|---|---|
DoubtSignal.Table(String registerName,
Database database)
Constructs a Table, physical creating it if it does not already exist. |
|
| Method Summary | |
|---|---|
(package private) Database |
database()
Returns the database in which this table is stored. |
DoubtSignal |
get(String voter0Email,
String voter1Email)
Retrieves a signal from this table. |
List<DoubtSignalNode> |
getSignalNodesTo(String voter1Email,
ListNodeC.Table listNodeTable)
Retrieves signals that extend to the specified destination voter, together with their source nodes. |
List<DoubtSignal> |
getSignalsFrom(String voter0Email)
Retrieves all signals that extend from the specified source voter. |
(package private) void |
remove(ElectoralSubserver.UserSession voter0Session,
String voter1Email)
Removes a signal from this table, if it is stored there. |
void |
runFrom(ListNodeC.Table listNodeTable,
DoubtSignalNode.Runner runner)
Passes all signals of this table, and their source nodes, through the specified runner. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DoubtSignal.Table(String registerName,
Database database)
throws SQLException
registerName - the name of the register, and of the table's schema
(which is assumed to already exist)database - per database()
SQLException| Method Detail |
|---|
Database database()
public DoubtSignal get(String voter0Email,
String voter1Email)
throws SQLException
SQLException
public List<DoubtSignal> getSignalsFrom(String voter0Email)
throws SQLException
SQLException
public List<DoubtSignalNode> getSignalNodesTo(String voter1Email,
ListNodeC.Table listNodeTable)
throws SQLException
SQLException
void remove(ElectoralSubserver.UserSession voter0Session,
String voter1Email)
throws SQLException
SQLException
public void runFrom(ListNodeC.Table listNodeTable,
DoubtSignalNode.Runner runner)
throws SQLException
SQLException
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||