Package | Description |
---|---|
ej.ecom |
Contains Embedded Communications classes (
ESR008 ). |
Modifier and Type | Interface and Description |
---|---|
interface |
HardwareDescriptor<D extends Device>
Descriptive information of the hardware of a
Device . |
class |
RegistrationEvent<D extends Device>
The
RegistrationEvent class. |
interface |
RegistrationListener<D extends Device>
The
RegistrationListener interface defines methods for notification of registered and unregistered devices. |
Modifier and Type | Method and Description |
---|---|
static <D extends Device> |
DeviceManager.addRegistrationListener(RegistrationListener<D> listener,
java.lang.Class<D> deviceType)
Adds the given
RegistrationListener to be notified when a device of the given type is registered or unregistered. |
<D extends Device> |
Device.getDescriptor()
Returns the device hardware descriptor.
|
static <D extends Device> |
DeviceManager.list(java.lang.Class<D> deviceType)
List all registered devices such as the given type is assignable from the device class.
|
static <D extends Device> |
DeviceManager.register(java.lang.Class<D> deviceType,
D device)
Registers a new device with the given type.
|
static <D extends Device> |
DeviceManager.removeRegistrationListener(RegistrationListener<D> listener)
Removes the given
RegistrationListener from the list of listeners that are notified when a device is registered or unregistered. |
Modifier and Type | Method and Description |
---|---|
Device[] |
Device.getChildren()
Returns the children of this device in the hardware topology.
|
Device |
Device.getParent()
Returns the parent of this device in the hardware topology.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Iterator<Device> |
DeviceManager.list()
List all registered devices.
|
Modifier and Type | Method and Description |
---|---|
static void |
DeviceManager.unregister(Device device)
Unregisters the given device.
|