public interface HardwareLayer
| Modifier and Type | Method and Description |
|---|---|
ComputerSystem |
getComputerSystem()
Instantiates a
ComputerSystem object. |
HWDiskStore[] |
getDiskStores()
Instantiates an array of
HWDiskStore objects,
representing a physical hard disk or other similar storage device |
Display[] |
getDisplays()
Instantiates an array of
Display objects, representing
monitors or other video output devices. |
GlobalMemory |
getMemory()
Instantiates a
GlobalMemory object. |
NetworkIF[] |
getNetworkIFs()
Instantiates an array of
NetworkIF objects,
representing a network interface |
PowerSource[] |
getPowerSources()
Instantiates an array of
PowerSource objects,
representing batteries, etc. |
CentralProcessor |
getProcessor()
Instantiates a
CentralProcessor object. |
Sensors |
getSensors()
Instantiates a
Sensors object, representing CPU
temperature and fan speed |
SoundCard[] |
getSoundCards()
Instantiates an array of
SoundCard objects,
representing the Sound cards. |
UsbDevice[] |
getUsbDevices(boolean tree)
Instantiates an array of
UsbDevice objects,
representing devices connected via a usb port (including internal devices). |
ComputerSystem getComputerSystem()
ComputerSystem object. This represents
the physical hardware, including components such as BIOS/Firmware and a
motherboard, logic board, etc.ComputerSystem object.CentralProcessor getProcessor()
CentralProcessor object. This represents
one or more Logical CPUs.CentralProcessor object.GlobalMemory getMemory()
GlobalMemory object.PowerSource[] getPowerSources()
PowerSource objects,
representing batteries, etc.HWDiskStore[] getDiskStores()
HWDiskStore objects,
representing a physical hard disk or other similar storage deviceNetworkIF[] getNetworkIFs()
NetworkIF objects,
representing a network interfaceDisplay[] getDisplays()
Display objects, representing
monitors or other video output devices.Sensors getSensors()
Sensors object, representing CPU
temperature and fan speedUsbDevice[] getUsbDevices(boolean tree)
UsbDevice objects,
representing devices connected via a usb port (including internal devices).
If the value of tree is true, the top level devices returned from this method are the USB Controllers; connected hubs and devices in its device tree share that controller's bandwidth. If the value of tree is false, USB devices (not controllers) are listed in a single flat array.
tree - Whether to display devices in a nested tree format from their
controllersCopyright © 2020. All rights reserved.