infoservice.agreement.multicast.messages
Class ConfirmationMessage

java.lang.Object
  extended by infoservice.agreement.multicast.messages.AMessage
      extended by infoservice.agreement.multicast.messages.CommitMessage
          extended by infoservice.agreement.multicast.messages.ConfirmationMessage
All Implemented Interfaces:
IDistributable, IAgreementMessage

public class ConfirmationMessage
extends CommitMessage


Field Summary
 
Fields inherited from class infoservice.agreement.multicast.messages.AMessage
m_consensusId, m_initiatorsId, m_lastCommonRandom, m_messageType, m_proposal, m_senderId, m_signatureOk, m_xmlNode
 
Fields inherited from interface anon.infoservice.IDistributable
FIELD_HTTP_REQUEST_STRING, FIELD_HTTP_SERIALS_REQUEST_STRING
 
Constructor Summary
ConfirmationMessage(CommitMessage a_commitMessage, java.lang.String a_senderId)
          Creates a ConfirmationMessage.
 
Method Summary
 void changeIntoCommitMessage()
          Changes the type of this message to AgreementMessageTypes.MESSAGE_TYPE_COMMIT
 
Methods inherited from class infoservice.agreement.multicast.messages.CommitMessage
appendCustomNodes, getEchoMessages, getHashKey, getInitMessage, setEchoMessages, toString
 
Methods inherited from class infoservice.agreement.multicast.messages.AMessage
getConsensusId, getId, getInitiatorsId, getLastCommonRandom, getMessageType, getPostData, getPostEncoding, getPostFile, getProposal, getSenderId, isSignatureOK, setConsensusId, setLastCommonRandom, setProposal, setSignatureOk, setXmlDocument, toXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConfirmationMessage

public ConfirmationMessage(CommitMessage a_commitMessage,
                           java.lang.String a_senderId)
Creates a ConfirmationMessage. It containts the CommitMessage that should be confirmed among the other InfoServices

Parameters:
a_commitMessage - The CommitMessage to be confirmed
Method Detail

changeIntoCommitMessage

public void changeIntoCommitMessage()
Changes the type of this message to AgreementMessageTypes.MESSAGE_TYPE_COMMIT