|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IAgreementHandler
Method Summary | |
---|---|
IInfoService |
getInfoService()
Gets the infoservice which belongs to this agreement handler. |
void |
handleMessage(IAgreementMessage a_msg)
Handles incomming IAgreementMessage . |
void |
notifyConsensusLogTimeout(IConsensusLog a_log)
This method will be called if a log entry times out. |
void |
reset()
This activates the agreement protocol in passiv mode, whitch means that incomming messages will be handled but we do not start our own InitMessage
|
void |
setLastCommonRandom(java.lang.String a_commonRandom)
This is needes for testing purposes only. |
void |
setLog(IAgreementLog a_log)
|
void |
startAgreementCommitmentProtocol()
Starts the agreement protocol. |
Methods inherited from interface infoservice.agreement.common.TimeoutListener |
---|
timeout |
Method Detail |
---|
void setLog(IAgreementLog a_log)
void handleMessage(IAgreementMessage a_msg) throws java.lang.IllegalArgumentException
IAgreementMessage
.
a_msg
- The given message.
java.lang.IllegalArgumentException
void startAgreementCommitmentProtocol()
prepareAgreementsStart()
befor and wait a minute.
IInfoService getInfoService()
void notifyConsensusLogTimeout(IConsensusLog a_log)
a_log
- The log entry.void setLastCommonRandom(java.lang.String a_commonRandom)
a_commonRandom
- The value of the current round number.void reset()
InitMessage
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |