Package ch.openchvote.printingauthority
Class PrintingAuthority
java.lang.Object
ch.openchvote.framework.Party
ch.openchvote.printingauthority.PrintingAuthority
This class implements the 'Printing Authority' party of the CHVote protocol. It is a direct subclass of
Party
with no particular extensions. The specific role of the printing authority in the protocol is implemented in the classes
EventData (plain protocol) and
EventData (write-in protocol) and in corresponding state and task classes.-
Nested Class Summary
Nested classes/interfaces inherited from class ch.openchvote.framework.Party
Party.Type -
Constructor Summary
ConstructorsConstructorDescriptionPrintingAuthority(String id, Configuration configuration, Logger.Mode mode) Constructs a new instance of this class. -
Method Summary
Methods inherited from class ch.openchvote.framework.Party
checkAndGetContent, checkAndGetContent, getCurrentState, getId, getType, onInitMessage, onInternalMessage, onMessage, sendInternalMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, toString
-
Constructor Details
-
PrintingAuthority
Constructs a new instance of this class.- Parameters:
id- The printing authority's party idconfiguration- A configuration of servicesmode- The logger's mode of operation
-