@Test public void removeDevice() { addDevice(); snmpController.removeDevice(device.deviceId()); assertNull("Device shoudl not be present", snmpController.getDevice(device.deviceId())); }
@Override public void removeDevice(DeviceId did) { snmpDeviceMap.remove(did); }
DefaultSnmpController implements SnmpController { @Override public void removeDevice(DeviceId did) { snmpDeviceMap.remove(did); } }
DefaultSnmpController implements SnmpController { @Override public void removeDevice(DeviceId did) { snmpDeviceMap.remove(did); }  }
DefaultSnmpController implements SnmpController { @Override public void removeDevice(DeviceId did) { snmpDeviceMap.remove(did); }  @Activate void activate(ComponentContext context); @Deactivate void deactivate(); @Override ISnmpSession getSession(DeviceId deviceId); @Override Collection<SnmpDevice> getDevices(); @Override SnmpDevice getDevice(DeviceId did); @Override void removeDevice(DeviceId did); @Override void addDevice(DeviceId did, SnmpDevice device); @Override DefaultAlarm buildWalkFailedAlarm(DeviceId deviceId); }
DefaultSnmpController implements SnmpController { @Override public void removeDevice(DeviceId did) { snmpDeviceMap.remove(did); }  @Activate void activate(ComponentContext context); @Deactivate void deactivate(); @Override ISnmpSession getSession(DeviceId deviceId); @Override Collection<SnmpDevice> getDevices(); @Override SnmpDevice getDevice(DeviceId did); @Override void removeDevice(DeviceId did); @Override void addDevice(DeviceId did, SnmpDevice device); @Override DefaultAlarm buildWalkFailedAlarm(DeviceId deviceId);  }