|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectElectoralService
MailMetaService
@ThreadRestricted(value="holds lock()") public final class MailMetaService
The mail responder's electoral meta-service. It provides bootstrap instructions on accessing the electoral services, as well as general information about the subserver.
| Nested Class Summary | |
|---|---|
static class |
MailMetaService.ConfigurationContext
A context for configuring the mail responder's electoral meta-service. |
| Field Summary |
|---|
| Fields inherited from class ElectoralService |
|---|
configurationContext, lock, name, serviceEmail, subserverRun |
| Constructor Summary | |
|---|---|
MailMetaService(ElectoralSubserver.Run subserverRun,
MailMetaService.ConfigurationContext cc)
|
|
| Method Summary | |
|---|---|
File |
configurationFile()
The configuration file for this meta-service. |
Exception |
help(String[] argv,
CommandResponder.Session session)
Responds to a help command on behalf of the nominal responder, per respond(argv,session). |
(package private) static MailMetaService |
newMetaService(ElectoralSubserver.Run subserverRun,
JavaScriptIncluder s)
Constructs a MailMetaService. |
String |
serviceEmail()
The email address that nominally identifies this meta-service. |
String |
summaryDescription()
A brief description of this meta-service, same as the subserver's. |
String |
title()
The title of this meta-service, which is the same as the subserver's title. |
| Methods inherited from class ElectoralService |
|---|
dispatch, dispatch, ensureSchema, equals, helpA, helpB, helpC, init, lock, name, responderByClassName, responderForCommand, responders, subserverRun, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MailMetaService(ElectoralSubserver.Run subserverRun,
MailMetaService.ConfigurationContext cc)
throws IOException,
ScriptException,
SQLException
IOException
ScriptException
SQLException| Method Detail |
|---|
@ThreadSafe
static MailMetaService newMetaService(ElectoralSubserver.Run subserverRun,
JavaScriptIncluder s)
throws IOException,
ScriptException,
SQLException
s - the compiled configuration script
IOException
ScriptException
SQLException@ThreadSafe public File configurationFile()
votorolaDirectory/vomailrd.js
The language is JavaScript. There are restrictions on the character encoding.
configurationFile in class ElectoralService
public Exception help(String[] argv,
CommandResponder.Session session)
ElectoralService
help in class ElectoralService@ThreadSafe public String serviceEmail()
Typically, this is the ordinary email address of the subserver account.
The authentication layer must not challenge any messages sent to this address. It must allow them (and, if possible, all messages sent to non-service email addresses) to bypass sender authentication entirely. For reasons, see: http://zelea.com/system/host/t/home/v/.tmda/filters/incoming
serviceEmail in class ElectoralServiceMailMetaService.ConfigurationContext.setName(String)public String summaryDescription()
summaryDescription in class ElectoralServicepublic String title()
title in class ElectoralService
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||