|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectea.RemoteEntityConnectionEA
The class responsible for starting the RMI Registry as well as handling interaction with the registry.
Constructor Summary | |
RemoteEntityConnectionEA(int port)
Starts a new RMI registry at the given port. |
Method Summary | |
ElectionServer |
bindElectionServer(ElectionProperties ep,
PublicKey pk,
KeyShare[] ks)
Binds the ElectionServer to the registry. |
BulletinBoard |
getBulletinBoard()
Returns a stub to the remote object BulletinBoard |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RemoteEntityConnectionEA(int port) throws java.rmi.RemoteException
port
-
java.rmi.RemoteException
Method Detail |
public BulletinBoard getBulletinBoard() throws java.rmi.AccessException, java.rmi.RemoteException, java.rmi.NotBoundException
java.rmi.AccessException
java.rmi.RemoteException
java.rmi.NotBoundException
public ElectionServer bindElectionServer(ElectionProperties ep, PublicKey pk, KeyShare[] ks) throws java.rmi.RemoteException
ep
- The parameters for the election.pk
- The public key for the election.ks
- The array of KeyShares for the decryption servers.
java.rmi.RemoteException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |