Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## it.unitn.ds.peersim.protocols.interfaces
Interface Consensus

All Known Implementing Classes:
  ConsensusEventuallyStrongFD, ConsensusStrongFD

    public interface Consensus

Distributed Systems Course Project

Year: 2009/2010

University of Trento

Consensus Interface used to implement the consensus protocol.

Version:
  1.0
Author:
  Avancini Mattia, Giampaolo Farina
See Also:
  `http://peersim.sourceforge.net/`

Method Summary
`boolean` | `getDecided()` Gets the decided.
`FDParameters` | `getFDParameters()` Gets the fD parameters.
`java.util.ArrayList<java.lang.Long>` | `getSuspected()` Gets the fD hints.
`int` | `getTransportID()` Gets the transport id.
`double` | `getValue()` Gets the value.

Method Detail

### getTransportID

    int getTransportID()

  Gets the transport id.

  Returns:
    the transport id

### getDecided

    boolean getDecided()

  Gets the decided.

  Returns:
    the decided

### getFDParameters

    FDParameters getFDParameters()

  Gets the fD parameters.

  Returns:
    the fD parameters

### getValue

    double getValue()

  Gets the value.

  Returns:
    the value

### getSuspected

    java.util.ArrayList<java.lang.Long> getSuspected()

  Gets the fD hints.

  Returns:
    the fD hints

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD