Package bftsmart.reconfiguration.views
Class View
- java.lang.Object
-
- bftsmart.reconfiguration.views.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 boolean
equals(java.lang.Object obj)
java.net.InetSocketAddress
getAddress(int id)
int
getF()
int
getId()
int
getN()
int
getPos(int id)
int[]
getProcesses()
int
hashCode()
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)
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-