public interface SystemInformationService
| Modifier and Type | Method and Description |
|---|---|
SystemInformation |
addSystem(SystemInformation systemInfo)
Adds a new system into the team.
|
void |
coreDataChanged()
Notify that core data has changed and thus core data version
needs to be updated.
|
SystemInformation |
getSystem()
Gets the local system information.
|
SystemInformation |
getSystem(Id<SystemInformation,UUID> id)
Get the system information with the specified unique id.
|
Collection<SystemInformation> |
getSystems()
Gets all known systems.
|
void |
registerContact(SystemInformation contact)
Registers a contact from another system.
|
void |
removeSystem(Id<SystemInformation,UUID> id)
Removes the system with the specified unique id.
|
SystemInformation |
setSelfIp(IpAddress ip)
Set the IP address of the non-teamed, self=true system.
|
void |
updateSystem(SystemInformation systemInfo)
Updates the system information using the supplied descriptor.
|
SystemInformation getSystem()
SystemInformation addSystem(SystemInformation systemInfo)
systemInfo - the system to be added to the teamSystemInformation getSystem(Id<SystemInformation,UUID> id)
id - system idvoid updateSystem(SystemInformation systemInfo)
systemInfo - descriptor containing changed system dataNotFoundException - if system could not be updated because it
has been removedvoid registerContact(SystemInformation contact)
contact - contact to registervoid removeSystem(Id<SystemInformation,UUID> id)
id - system idNotFoundException - if system with the specified id does not
existCollection<SystemInformation> getSystems()
void coreDataChanged()
SystemInformation setSelfIp(IpAddress ip)
ip - the new IP addressIllegalArgumentException - if the ip is not a valid
IP address on the system, or if the system is teamedNullPointerException - if any of the arguments are nullCopyright © 2014. All Rights Reserved.