@ThreadRestricted(value="holds lock()") public final class Trustserver extends VoterService
| Modifier and Type | Class and Description |
|---|---|
static class |
Trustserver.ConstructionContext
A context for configuring the construction of a Trustserver.
|
VoterService.IllegalNameException, VoterService.NoSuchServiceExceptionconstructionContext, lock, name, NAME_MAX_LENGTH, NAME_PATTERN, vsRun| Modifier and Type | Method and Description |
|---|---|
GoogleGeocoder |
geocoder()
The trustserver's facility for converting street addresses to cartographic
coordinates.
|
TraceNode |
getTraceNode(NetworkTrace trace,
IDPair registrant)
Retrieves a registrant's node from a compiled network trace.
|
static Trustserver |
newTrustserver(VoteServer.Run run,
JavaScriptIncluder s)
Constructs a Trustserver.
|
(package private) List<TrustEdge.Primary> |
primaryTrustList()
The primary trust to extend for each trace of the trust network.
|
JavaScriptIncluder |
runtimeConfigurationScript()
The compiled runtime-configuration script for the trustserver.
|
File |
startupConfigurationFile()
The startup configuration file for this service.
|
String |
summaryDescription()
A short description that summarizes this service.
|
String |
title()
The title of this service in wiki-style title case.
|
NetworkTrace |
traceToReport()
The current network trace to report, or null if there is none.
|
NetworkTrace |
traceToReportT()
The current network trace to report, or null if there is none.
|
dispatch, dispatch, equals, help, helpA_1, helpA_2, helpA_3, helpA, helpB, helpC, init, isNonPoll, lock, name, responderByClassName, responderForCommand, responders, serviceDirectory, toString, vsRun@ThreadSafe public static Trustserver newTrustserver(VoteServer.Run run, JavaScriptIncluder s) throws IOException, ScriptException, SQLException
s - the compiled startup configuration script.IOExceptionScriptExceptionSQLException@ThreadSafe public GoogleGeocoder geocoder()
@ThreadSafe public TraceNode getTraceNode(NetworkTrace trace, IDPair registrant) throws IOException, SQLException
trace - the trace to use. This may be null, causing lookup the currently
reported trace. Note that lookup involves
locking overhead in threaded runs.IOExceptionSQLExceptionList<TrustEdge.Primary> primaryTrustList()
Trustserver.ConstructionContext.addPrimaryTrust(IDPair,int)@Warning(value="thread restricted object") public JavaScriptIncluder runtimeConfigurationScript()
~/votorola/trust/trustserver-run.js
The language is JavaScript. There are restrictions on the character encoding.
public NetworkTrace traceToReport() throws IOException, SQLException
IOExceptionSQLExceptionNetworkTrace.VoteServerScope.readyToReportLink()@ThreadSafe public NetworkTrace traceToReportT() throws IOException, SQLException
IOExceptionSQLException@ThreadSafe public File startupConfigurationFile()
VoterServicestartupConfigurationFile in class VoterService@ThreadSafe public String summaryDescription()
VoterServicesummaryDescription in class VoterServiceTrustserver.ConstructionContext.setSummaryDescription(String)@ThreadSafe public String title()
VoterServicetitle in class VoterServiceTrustserver.ConstructionContext.setTitle(String)