public interface HostProviderService extends ProviderService<HostProvider>
| Modifier and Type | Method and Description | 
|---|---|
default void | 
addLocationToHost(HostId hostId,
                 HostLocation location)
Notifies the core when a location is associated with a host. 
 | 
void | 
hostDetected(HostId hostId,
            HostDescription hostDescription,
            boolean replaceIps)
Notifies the core when a host has been detected on a network along with
 information that identifies the host location. 
 | 
void | 
hostVanished(HostId hostId)
Notifies the core when a host is no longer detected on a network. 
 | 
void | 
removeIpFromHost(HostId hostId,
                IpAddress ipAddress)
Notifies the core when an IP is no longer associated with a host. 
 | 
void | 
removeLocationFromHost(HostId hostId,
                      HostLocation location)
Notifies the core when a location is no longer associated with a host. 
 | 
providervoid hostDetected(HostId hostId, HostDescription hostDescription, boolean replaceIps)
hostId - id of the host that been detectedhostDescription - description of host and its locationreplaceIps - replace IP set if true, merge IP set otherwisevoid hostVanished(HostId hostId)
hostId - id of the host that vanishedvoid removeIpFromHost(HostId hostId, IpAddress ipAddress)
hostId - id of the hostipAddress - ip address of host that vanisheddefault void addLocationToHost(HostId hostId, HostLocation location)
hostId - id of the hostlocation - location of host that gets discoveredvoid removeLocationFromHost(HostId hostId, HostLocation location)
hostId - id of the hostlocation - location of host that vanished