votorola.a.register.trust
Class CR_Doubt

java.lang.Object
  extended by CommandResponder.Base
      extended by CR_Doubt
All Implemented Interfaces:
CommandResponder
Direct Known Subclasses:
CR_Undoubt

public class CR_Doubt
extends CommandResponder.Base

Responder for the command 'doubt' - to cast a signal of suspicion on another voter.

See Also:
http://zelea.com/project/votorola/a/mail/guide.xht#doubt

Nested Class Summary
 
Nested classes/interfaces inherited from interface CommandResponder
CommandResponder.AnonymousIssueException, CommandResponder.Base, CommandResponder.Session, CommandResponder.X
 
Field Summary
 
Fields inherited from class CommandResponder.Base
electoralService, keyPrefix
 
Constructor Summary
CR_Doubt(Register register)
          Constructs a CR_Doubt.
CR_Doubt(Register register, String keyPrefix)
          Constructs a CR_Doubt as a subclass.
 
Method Summary
protected  void appendDoubtList(List<DoubtSignal> doubtList, CommandResponder.Session session)
          Appends a list of doubted voters to the reply.
protected  Register register()
           
 Exception respond(String[] argv, CommandResponder.Session session)
          Responds to an invocation of the command.
 
Methods inherited from class CommandResponder.Base
acceptsAnonymousIssue, canonicalEmail, commandName, compileBaseOptions, help, parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CR_Doubt

public CR_Doubt(Register register)
Constructs a CR_Doubt.


CR_Doubt

CR_Doubt(Register register,
         String keyPrefix)
Constructs a CR_Doubt as a subclass.

Method Detail

respond

public Exception respond(String[] argv,
                         CommandResponder.Session session)
Description copied from interface: CommandResponder
Responds to an invocation of the command.

Parameters:
argv - array of command name (index 0) and any arguments (indeces 1..*)
Returns:
any soft exception, of temporary cause (which might clear up on a retry); or null if none occured

appendDoubtList

protected void appendDoubtList(List<DoubtSignal> doubtList,
                               CommandResponder.Session session)
Appends a list of doubted voters to the reply.


register

protected Register register()