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.utils
Class ConsensusProtocolParameters

    java.lang.Object
      it.unitn.ds.peersim.utils.ConsensusProtocolParameters

    public class ConsensusProtocolParameters

extends java.lang.Object

Distributed Systems Course Project

Year: 2009/2010

University of Trento

ConsensusProtocolParameters -. Contains all the parameters about the consensus protocol.

Version:
  1.0
Author:
  Avancini Mattia, Giampaolo Farina

Constructor Summary
`ConsensusProtocolParameters()` Instantiates a new consensus protocol parameters.

Method Summary
`int` | `getPid()` Gets the pid.
`int` | `getTid()` Gets the tid.
`void` | `setPid(int pid)` Sets the pid.
`void` | `setTid(int tid)` Sets the tid.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ConsensusProtocolParameters

    public ConsensusProtocolParameters()

  Instantiates a new consensus protocol parameters.

Method Detail

### getPid

    public int getPid()

  Gets the pid.

  Returns:
    the pid

### getTid

    public int getTid()

  Gets the tid.

  Returns:
    the tid

### setPid

    public void setPid(int pid)

  Sets the pid.

  Parameters:
    `pid` - the pid to set

### setTid

    public void setTid(int tid)

  Sets the tid.

  Parameters:
    `tid` - the tid to set

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