1 18 19 package sync4j.syncclient.spdm; 20 21 import sync4j.syncclient.spdm.Device; 22 23 31 public abstract class DeviceManager { 32 33 public static DeviceManager getDeviceManager() { 34 throw new RuntimeException ( "This operation cannot be executed on DeviceManager, " + 35 "but should be done on one of its subclasses." ); 36 37 }; 38 39 46 abstract public Device getDevice(); 47 48 55 abstract public ManagementNode getManagementTree(String parent); 56 57 62 abstract public ManagementNode getManagementTree(); 63 64 } | Popular Tags |