@Test public void hostVanishedIPv6() { detect(HID3, MAC3, VLAN1, LOC1, IP3); providerService.hostVanished(HID3); validateEvents(HOST_ADDED, HOST_REMOVED); assertNull("host should have been removed", mgr.getHost(HID3)); }
@Override public Host getHost(HostId hostId) { checkPermission(HOST_READ); checkNotNull(hostId, HOST_ID_NULL); return store.getHost(hostId); }
HostManager extends AbstractListenerProviderRegistry<HostEvent, HostListener, HostProvider, HostProviderService> implements HostService, HostAdminService, HostProviderRegistry { @Override public Host getHost(HostId hostId) { checkPermission(HOST_READ); checkNotNull(hostId, HOST_ID_NULL); return store.getHost(hostId); } }
HostManager extends AbstractListenerProviderRegistry<HostEvent, HostListener, HostProvider, HostProviderService> implements HostService, HostAdminService, HostProviderRegistry { @Override public Host getHost(HostId hostId) { checkPermission(HOST_READ); checkNotNull(hostId, HOST_ID_NULL); return store.getHost(hostId); }  }
HostManager extends AbstractListenerProviderRegistry<HostEvent, HostListener, HostProvider, HostProviderService> implements HostService, HostAdminService, HostProviderRegistry { @Override public Host getHost(HostId hostId) { checkPermission(HOST_READ); checkNotNull(hostId, HOST_ID_NULL); return store.getHost(hostId); }  @Activate void activate(); @Deactivate void deactivate(); @Override int getHostCount(); @Override Iterable<Host> getHosts(); @Override Host getHost(HostId hostId); @Override Set<Host> getHostsByVlan(VlanId vlanId); @Override Set<Host> getHostsByMac(MacAddress mac); @Override Set<Host> getHostsByIp(IpAddress ip); @Override Set<Host> getConnectedHosts(ConnectPoint connectPoint); @Override Set<Host> getConnectedHosts(DeviceId deviceId); @Override void startMonitoringIp(IpAddress ip); @Override void stopMonitoringIp(IpAddress ip); @Override void requestMac(IpAddress ip); @Override void removeHost(HostId hostId); }
HostManager extends AbstractListenerProviderRegistry<HostEvent, HostListener, HostProvider, HostProviderService> implements HostService, HostAdminService, HostProviderRegistry { @Override public Host getHost(HostId hostId) { checkPermission(HOST_READ); checkNotNull(hostId, HOST_ID_NULL); return store.getHost(hostId); }  @Activate void activate(); @Deactivate void deactivate(); @Override int getHostCount(); @Override Iterable<Host> getHosts(); @Override Host getHost(HostId hostId); @Override Set<Host> getHostsByVlan(VlanId vlanId); @Override Set<Host> getHostsByMac(MacAddress mac); @Override Set<Host> getHostsByIp(IpAddress ip); @Override Set<Host> getConnectedHosts(ConnectPoint connectPoint); @Override Set<Host> getConnectedHosts(DeviceId deviceId); @Override void startMonitoringIp(IpAddress ip); @Override void stopMonitoringIp(IpAddress ip); @Override void requestMac(IpAddress ip); @Override void removeHost(HostId hostId); static final String HOST_ID_NULL; }