|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.unitn.ds.peersim.payloads.PhasePayload
public class PhasePayload
Distributed Systems Course Project
Year: 2009/2010
University of Trento
PhasePayload -. Class that implements the payload used in the consensus messages.
http://peersim.sourceforge.net/| Constructor Summary | |
|---|---|
PhasePayload(long round,
double estimation)
Instantiates a new phase payload. |
|
| Method Summary | |
|---|---|
double |
getEstimation()
Gets the estimation. |
long |
getRound()
Gets the round. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PhasePayload(long round,
double estimation)
round - the roundestimation - the estimation| Method Detail |
|---|
public long getRound()
public double getEstimation()
getEstimation in interface Payloadpublic java.lang.String toString()
toString in interface PayloadtoString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||