public class Accepted extends PaxosMessage implements PaxosMessage.Acceptance, PaxosMessage.AcceptResponse
PaxosMessage.Acceptance, PaxosMessage.AcceptResponse, PaxosMessage.Denial, PaxosMessage.ProposeResponse, PaxosMessage.Request
commandSlot, proposalNumber, sourceNodeID
Constructor and Description |
---|
Accepted(int sourceNodeID,
long commandSlot,
long proposalNumber) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
public Accepted(int sourceNodeID, long commandSlot, long proposalNumber)
sourceNodeID
- the ID of the node sending this acceptcommandSlot
- the command slot this is an accept forproposalNumber
- the proposal number this is an accept forpublic java.lang.String toString()
toString
in class PaxosMessage