|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The interface needed for using the remote object BulletinBoard bound in the RMI registry
Method Summary | |
void |
endElection()
Ends the election, thus disallowing the posting of additional votes |
BinaryVote[] |
getBinaryVotes()
Gets the BinaryVotes in the case of a single candidate election |
boolean |
getElectionStatus()
Gets the status of the election |
java.util.ArrayList |
getKOfLShares()
Gets the DecryptedShares in the case of a multiple vote election |
MultipleBinaryVotes[] |
getMultipleBinaryVotes()
Gets the MultipleBinaryVotes in the case of a multi candidate election |
MultipleVotes[] |
getMultipleVotes()
Gets the MultipleVotes in the case of a multi candidate election |
int |
getNoOfShares()
Gets the number of DecryptedShares posted by the DecryptionServers |
int |
getNoOfVotes()
Gets the number of votes cast in the election |
DecryptedShare[] |
getOneOfLShares()
Gets the DecryptedShares in the case of a single vote election |
Vote[] |
getVotes()
Gets the Votes in the case of a single candidate election |
void |
postShare(DecryptedShare ds)
Posts a DecryptedShare to the bulletin board |
void |
postShare(DecryptedShare[] ds)
Posts multiple DecryptedShares to the bulletin board in a multiple vote election |
void |
postVote(BinaryVote v)
Posts a BinaryVote to the bulletin board |
void |
postVote(MultipleBinaryVotes v)
Posts MultipleBinaryVotes to the bulletin board |
void |
postVote(MultipleVotes v)
Posts MultipleVotes to the bulletin board |
void |
postVote(Vote v)
Posts a Vote to the bulletin board |
Method Detail |
public void postVote(Vote v) throws java.rmi.RemoteException
v
- The vote
java.rmi.RemoteException
public void postVote(BinaryVote v) throws java.rmi.RemoteException
v
- The BinaryVote
java.rmi.RemoteException
public void postVote(MultipleVotes v) throws java.rmi.RemoteException
v
- The votes
java.rmi.RemoteException
public void postVote(MultipleBinaryVotes v) throws java.rmi.RemoteException
v
- The votes
java.rmi.RemoteException
public Vote[] getVotes() throws java.rmi.RemoteException
java.rmi.RemoteException
public BinaryVote[] getBinaryVotes() throws java.rmi.RemoteException
java.rmi.RemoteException
public MultipleVotes[] getMultipleVotes() throws java.rmi.RemoteException
java.rmi.RemoteException
public MultipleBinaryVotes[] getMultipleBinaryVotes() throws java.rmi.RemoteException
java.rmi.RemoteException
public int getNoOfVotes() throws java.rmi.RemoteException
java.rmi.RemoteException
public void endElection() throws java.rmi.RemoteException
java.rmi.RemoteException
public int getNoOfShares() throws java.rmi.RemoteException
java.rmi.RemoteException
public void postShare(DecryptedShare ds) throws java.rmi.RemoteException
ds
- The DecryptedShare
java.rmi.RemoteException
public boolean getElectionStatus() throws java.rmi.RemoteException
java.rmi.RemoteException
public void postShare(DecryptedShare[] ds) throws java.rmi.RemoteException
ds
- The DecryptedShares
java.rmi.RemoteException
public java.util.ArrayList getKOfLShares() throws java.rmi.RemoteException
java.rmi.RemoteException
public DecryptedShare[] getOneOfLShares() throws java.rmi.RemoteException
java.rmi.RemoteException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |