public interface DeviceInfo
Environment
s if you wish to
expose some (typically static) information about the device represented by
that environment to a Machine
connected to it.
MachineHost
in which case the Machine
will forward that information as
its own (since MachineHost
s usually use the machine's node as
their own, this avoids a dummy environment used solely for device info).
lshw
uses (http://www.ezix.org/project/wiki/HardwareLiSter),
where applicable.Modifier and Type | Interface and Description |
---|---|
static class |
DeviceInfo.DeviceAttribute
Recommended list of key values for the device info table.
|
static class |
DeviceInfo.DeviceClass
Recommended list of values for the
class attribute (see above). |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
getDeviceInfo()
Compile a list of device information strings as key-value pairs.
|
java.util.Map<java.lang.String,java.lang.String> getDeviceInfo()
class | memory |
description | Memory bank |
vendor | MightyPirates GmbH & Co. KG |
product | Multipurpose RAM Type |
clock | 500 |
null
.