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.
|
Modifier and Type | Method and Description |
---|---|
CommandResponder |
VoterService.responderByClassName(String className)
Returns the responder of a particular class name, or null if there is none.
|
CommandResponder |
VoterService.responderForCommand(String[] argArray,
CommandResponder.Session commandSession)
Returns the responder for the specified command, or null if there is none.
|
CommandResponder[] |
VoterService.responders()
An array of all responders.
|
Modifier and Type | Method and Description |
---|---|
Exception |
VoterService.dispatch(String[] argArray,
CommandResponder.Session commandSession,
CommandResponder responder)
Sends a command to its responder, if one is specified.
|
Modifier and Type | Method and Description |
---|---|
protected void |
VoterService.init(ArrayList<CommandResponder> responderList) |
Modifier and Type | Class and Description |
---|---|
class |
CR_Reconstruct
Responder for the command 'reconstruct' - to reconstruct a poll from scratch.
|
class |
CR_Unvote
Responder for the command 'unvote' - to withdraw a vote from a poll.
|
class |
CR_Vote
Responder for the command 'vote' - to cast a vote in a poll.
|
Modifier and Type | Class and Description |
---|---|
static class |
CommandResponder.Base
Base implementation of a command responder.
|
class |
CR_Hello
Responder for the command 'hello' - to say hello to the server.
|
class |
CR_Help
Responder for the command 'help' - to request general information on the voter
service, and instructions on using it.
|
class |
CR_Version
Responder for the command 'version' - to ask what version of software the vote-server
is running.
|
Modifier and Type | Method and Description |
---|---|
int |
CommandResponder.Session.ResponderNameComparator.compare(CommandResponder r1,
CommandResponder r2) |