Package com.isode.dsapi.config
Class MESH.ServerInfo
java.lang.Object
com.isode.dsapi.config.MESH.ServerInfo
- Enclosing class:
- MESH
Object representing per-server state.
-
Method Summary
Modifier and TypeMethodDescriptionReturn a Map containing the set of agreement report objects, as mapped by their agreement ID.Get the GroupState associated with this server.Get the DN of this server.Get the MESH integer ID of this server.boolean
isOnline()
Whether the server is online.void
Update report information from that last read.
-
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
Get the GroupState associated with this server.- Returns:
- GroupState object, never null.
-
getServerDN
Get the DN of this server.- Returns:
- DN value, never null.
-
getServerID
Get the MESH integer ID of this server.- Returns:
- Integer value, never null.
-
getAgreementInfo
Return a Map containing the set of agreement report objects, as mapped by their agreement ID.- Returns:
- Map of AgreementInfo objects, never null.
-