@ThreadSafe public final class NetworkTrace extends Object implements Serializable
SetdivisionSet = trace.membershipTable().divisionSet( registrant.email() );
Other registration properties are lumped together in a single trace node, one per registrant. To obtain the registrant's trace node:
TraceNode traceNode = trace.traceNodeTable().getOrCreate( registrant );
Most of the registration properties are set by intermediation of the local
administrator's votrace.js
script.
votrace.js
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
NetworkTrace.VoteServerScope
API for all traces of trust networks within the scope of a vote-server.
|
Constructor and Description |
---|
NetworkTrace(ReadyDirectory _readyDirectory)
Partially constructs a NetworkTrace.
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
init(Membership.Table _membershipTable,
TraceNodeW.Table _traceNodeTable)
Completes the construction of a new VoterList.
|
(package private) boolean |
isObjectReadFromSerialFile(ReadyDirectory newReadyDirectory)
Returns true if this trace is probably in sync with the serial file of the
specified ready directory; false if that file has since been modified or deleted.
|
Membership.Table |
membershipTable()
The relational store of memberships that (in part) backs this trace, if known.
|
static NetworkTrace |
readObjectFromSerialFile(ReadyDirectory readyDirectory) |
ReadyDirectory |
readyDirectory()
The file part of the backing for this trace.
|
TraceNodeW.Table |
traceNodeTable()
The relational store of trace nodes that (in part) backs this trace, if known.
|
(package private) void |
writeObjectToSerialFile() |
NetworkTrace(ReadyDirectory _readyDirectory)
@ThreadRestricted(value="constructor") void init(Membership.Table _membershipTable, TraceNodeW.Table _traceNodeTable)
boolean isObjectReadFromSerialFile(ReadyDirectory newReadyDirectory)
public static NetworkTrace readObjectFromSerialFile(ReadyDirectory readyDirectory)
final void writeObjectToSerialFile() throws IOException
IOException
public Membership.Table membershipTable()
VoteServer.Run.database()
,
init(Membership.Table,TraceNodeW.Table)
public TraceNodeW.Table traceNodeTable()
VoteServer.Run.database()
,
init(Membership.Table,TraceNodeW.Table)
public ReadyDirectory readyDirectory()