@ThreadRestricted(value="holds lock()") public final class MailMetaService extends VoterService
| Modifier and Type | Class and Description |
|---|---|
static class |
MailMetaService.ConstructionContext
A context for configuring the mail interface's voter
meta-service.
|
VoterService.IllegalNameException, VoterService.NoSuchServiceExceptionconstructionContext, lock, name, NAME_MAX_LENGTH, NAME_PATTERN, vsRun| Constructor and Description |
|---|
MailMetaService(VoteServer.Run run,
MailMetaService.ConstructionContext cc) |
| Modifier and Type | Method and Description |
|---|---|
Exception |
help(String[] argv,
CommandResponder.Session session)
Responds to a help command on behalf of the nominal responder, per respond(argv,session).
|
static MailMetaService |
newMetaService(VoteServer.Run vsRun,
JavaScriptIncluder s)
Constructs a MailMetaService.
|
JavaScriptIncluder |
runtimeConfigurationScript()
The runtime configuration file for this meta-service.
|
String |
serviceEmail(VoterService service)
Constructs the email address of a voter service.
|
String |
serviceName(InternetAddress serviceEmail)
Converts service email address into a service name.
|
File |
startupConfigurationFile()
The startup configuration file for this service.
|
String |
summaryDescription()
A brief description of this meta-service, same as the vote-server's.
|
String |
title()
The title of this meta-service, which is the same as the vote-server's title.
|
dispatch, dispatch, equals, helpA_1, helpA_2, helpA_3, helpA, helpB, helpC, init, isNonPoll, lock, name, responderByClassName, responderForCommand, responders, serviceDirectory, toString, vsRunMailMetaService(VoteServer.Run run, MailMetaService.ConstructionContext cc) throws IOException, ScriptException, SQLException
IOExceptionScriptExceptionSQLException@ThreadSafe public static MailMetaService newMetaService(VoteServer.Run vsRun, JavaScriptIncluder s) throws IOException, ScriptException, SQLException
s - the compiled startup configuration scriptIOExceptionScriptExceptionSQLException@Warning(value="thread restricted object, holds lock()") public JavaScriptIncluder runtimeConfigurationScript()
public String serviceEmail(VoterService service)
serviceName(InternetAddress),
InternetAddressX.canonicalAddress(String)public String serviceName(InternetAddress serviceEmail)
serviceEmail(VoterService)public Exception help(String[] argv, CommandResponder.Session session)
VoterServicehelp in class VoterService@ThreadSafe public File startupConfigurationFile()
VoterServicestartupConfigurationFile in class VoterServicepublic String summaryDescription()
summaryDescription in class VoterServicepublic String title()
title in class VoterService