Class 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)  
    • Constructor Detail

      • View

        public View​(int id,
                    int[] processes,
                    int f,
                    java.net.InetSocketAddress[] addresses)
    • 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 class java.lang.Object
      • getAddress

        public java.net.InetSocketAddress getAddress​(int id)