Package | Description |
---|---|
votorola.a |
Providing application-specific library code for Votorola:
an experimental technology for the public guidance of electoral systems,
executive offices, legislatures, and other decision systems.
|
votorola.a.count |
Counting votes and resources.
|
votorola.a.response |
Interfacing with users by command/response.
|
votorola.s.mail |
Votorola's mail interface.
|
Modifier and Type | Method and Description |
---|---|
Exception |
VoterService.dispatch(String[] argArray,
CommandResponder.Session commandSession)
Looks up the responder of the specified command, and sends the command
to it.
|
Exception |
VoterService.dispatch(String[] argArray,
CommandResponder.Session commandSession,
CommandResponder responder)
Sends a command to its responder, if one is specified.
|
Exception |
VoterService.help(String[] argv,
CommandResponder.Session session)
Responds to a help command on behalf of the nominal responder, per respond(argv,session).
|
protected void |
VoterService.helpA_1(CommandResponder.Session session) |
protected void |
VoterService.helpA_2(CommandResponder.Session session) |
protected void |
VoterService.helpA_3(CommandResponder.Session session) |
protected void |
VoterService.helpA(CommandResponder.Session session) |
protected void |
VoterService.helpB(CommandResponder.Session session) |
protected void |
VoterService.helpC(CommandResponder.Session session) |
CommandResponder |
VoterService.responderForCommand(String[] argArray,
CommandResponder.Session commandSession)
Returns the responder for the specified command, or null if there is none.
|
Modifier and Type | Method and Description |
---|---|
(package private) static HashMap<String,Option> |
CR_Vote.compileOptions(CommandResponder.Session session)
Compiles a map of launch options.
|
Exception |
PollService.dispatch(String[] argArray,
CommandResponder.Session commandSession) |
(package private) void |
CR_Vote.echoTraces(Vote vote,
CommandResponder.Session session)
Appends vote traces to the reply.
|
void |
CR_Unvote.help(CommandResponder.Session session) |
void |
CR_Vote.help(CommandResponder.Session session) |
Exception |
CR_Reconstruct.respond(String[] argv,
CommandResponder.Session session) |
Exception |
CR_Unvote.respond(String[] argv,
CommandResponder.Session session) |
Exception |
CR_Vote.respond(String[] argv,
CommandResponder.Session s) |
protected void |
CR_Vote.writeVoteAndEcho(String newCandidateEmail,
Vote vote,
CommandResponder.Session session)
Changes the vote and writes it to the database, and appends an echo of the change
to the reply.
|
Modifier and Type | Method and Description |
---|---|
static String |
CommandResponder.Base.canonicalEmail(String idString,
String commandName,
CommandResponder.Session session)
Translates a personal identifier to a canonical email address.
|
String |
CommandResponder.commandName(CommandResponder.Session session)
Returns the localized name of the command.
|
String |
CommandResponder.Base.commandName(CommandResponder.Session session)
Returns the localized string for keyPrefix + "commandName".
|
protected static HashMap<String,Option> |
CommandResponder.Base.compileBaseOptions(CommandResponder.Session session)
Compiles a minimal map of options for a responder.
|
void |
CommandResponder.help(CommandResponder.Session session)
Replies with instructions on using the command.
|
void |
CommandResponder.Base.help(CommandResponder.Session session)
Calls U.
|
static void |
CommandResponder.U.helpDefault(String keyPrefix,
CommandResponder.Session session)
Replies with the localized strings for keyPrefix + "help.summary",
"help.syntax", and "help.body".
|
protected int |
CommandResponder.Base.parse(String[] argv,
Map<String,Option> optionMap,
CommandResponder.Session session)
Parses the arguments against a formal option map, registering actual occurences in it.
|
Exception |
CR_Hello.respond(String[] argv,
CommandResponder.Session session) |
Exception |
CommandResponder.respond(String[] argv,
CommandResponder.Session session)
Responds to an invocation of the command.
|
Exception |
CR_Help.respond(String[] argv,
CommandResponder.Session session)
Handles the routine argument processing, and defers the rest
to the voter service.
|
Exception |
CR_Version.respond(String[] argv,
CommandResponder.Session session) |
Modifier and Type | Method and Description |
---|---|
Exception |
MailMetaService.help(String[] argv,
CommandResponder.Session session) |