Class MESH.Group

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

public static class MESH.Group extends Object
Set of distinct MESH groups (where a group is all of the servers in a particular MESH configuration).
  • Constructor Details

    • Group

      public Group(MESHManager mesh)
      Create MESH group report object based on the given initial MESH configuration.
      Parameters:
      mesh - MESHManager object representing latest configuration. Must not be null.
  • Method Details

    • serverOnline

      public void serverOnline(MESHManager mesh)
      Called to update reports after has come back online.
      Parameters:
      mesh - Configuration object loaded from server.
    • serverRemoved

      public boolean serverRemoved(MESHManager mesh)
      Called to update reports after a server has been removed.
      Parameters:
      mesh - Configuration object loaded from server.
      Returns:
      true if the Group is now empty, false otherwise.
    • getCurrentState

      public MESH.GroupState getCurrentState()
      Get the current state for this MESH group.
      Returns:
      GroupState object. Never null.