public class View
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
View(int id,
int[] processes,
int f,
java.net.InetSocketAddress[] addresses) |
Modifier and Type | Method and 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() |
public View(int id, int[] processes, int f, java.net.InetSocketAddress[] addresses)
public boolean isMember(int id)
public int getPos(int id)
public int getId()
public int getF()
public int getN()
public int[] getProcesses()
public java.lang.String toString()
toString
in class java.lang.Object
public java.net.InetSocketAddress getAddress(int id)