Package bftsmart.reconfiguration
Class View
- java.lang.Object
-
- bftsmart.reconfiguration.View
-
- All Implemented Interfaces:
java.io.Serializable
public class View extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description View(int id, int[] processes, int f, java.net.InetSocketAddress[] addresses)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.net.InetSocketAddress
getAddress(int id)
int
getF()
int
getId()
int
getN()
int
getPos(int id)
int[]
getProcesses()
boolean
isMember(int id)
java.lang.String
toString()
-
-
-
Method Detail
-
isMember
public boolean isMember(int id)
-
getPos
public int getPos(int id)
-
getId
public int getId()
-
getF
public int getF()
-
getN
public int getN()
-
getProcesses
public int[] getProcesses()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getAddress
public java.net.InetSocketAddress getAddress(int id)
-
-