Class MESH.ServerInfo

java.lang.Object
com.isode.dsapi.config.MESH.ServerInfo
Enclosing class:
MESH

public static class MESH.ServerInfo extends Object
Object representing per-server state.
  • Method Details

    • loadState

      public void loadState()
      Update report information from that last read.
    • isOnline

      public boolean isOnline()
      Whether the server is online.
      Returns:
      true if online, false otherwise.
    • getOwningGroupState

      public MESH.GroupState getOwningGroupState()
      Get the GroupState associated with this server.
      Returns:
      GroupState object, never null.
    • getServerDN

      public DN getServerDN()
      Get the DN of this server.
      Returns:
      DN value, never null.
    • getServerID

      public Integer getServerID()
      Get the MESH integer ID of this server.
      Returns:
      Integer value, never null.
    • getAgreementInfo

      public TreeMap<Integer,MESH.AgreementInfo> getAgreementInfo()
      Return a Map containing the set of agreement report objects, as mapped by their agreement ID.
      Returns:
      Map of AgreementInfo objects, never null.