Package ch.rakudave.jnetmap.device

Examples of ch.rakudave.jnetmap.device.DeviceEvent


  }
 
  @Override
  public void addDevice(Host item) {
    if (item != null && devices.add(item)) {
      notifyListeners(new ModelEvent(this, new DeviceEvent(item, DeviceEvent.Type.DEVICE_ADDED)));
    }
  }
View Full Code Here


  }

  @Override
  public void removeDevice(Device item) {
    if (devices.remove(item)) {
      notifyListeners(new ModelEvent(this, new DeviceEvent(item, DeviceEvent.Type.DEVICE_REMOVED)));
    }
  }
View Full Code Here

TOP

Related Classes of ch.rakudave.jnetmap.device.DeviceEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.