public abstract class AbstractHardwareAbstractionLayer extends Object implements HardwareAbstractionLayer
| Modifier and Type | Field and Description |
|---|---|
protected GlobalMemory |
memory |
protected CentralProcessor |
processor |
protected Sensors |
sensors |
| Constructor and Description |
|---|
AbstractHardwareAbstractionLayer() |
| Modifier and Type | Method and Description |
|---|---|
abstract HWDiskStore[] |
getDiskStores()
Instantiates an array of
HWDiskStore objects, representing a disk
pool |
abstract Display[] |
getDisplays()
Instantiates an array of
Display objects, representing monitors
or other video output devices. |
abstract OSFileStore[] |
getFileStores()
Instantiates an array of
OSFileStore objects, representing a
storage pool, device, partition, volume, concrete file system or other
implementation specific means of file storage. |
abstract FileSystem |
getFileSystem()
Instantiates a
FileSystem object. |
abstract GlobalMemory |
getMemory()
Instantiates a
GlobalMemory object. |
abstract PowerSource[] |
getPowerSources()
Instantiates an array of
PowerSource objects, representing
batteries, etc. |
abstract CentralProcessor |
getProcessor()
Instantiates a
CentralProcessor object. |
abstract Sensors |
getSensors()
Instantiates a
Sensors object, representing CPU temperature and
fan speed |
abstract UsbDevice[] |
getUsbDevices()
Instantiates an array of
UsbDevice objects, representing devices
connected via a usb port (including internal devices). |
javax.json.JsonObject |
toJSON()
Creates a compact JSON string containing the information for this class
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNetworkIFsprotected CentralProcessor processor
protected GlobalMemory memory
protected Sensors sensors
public abstract GlobalMemory getMemory()
GlobalMemory object.getMemory in interface HardwareAbstractionLayerpublic abstract CentralProcessor getProcessor()
CentralProcessor object. This represents one or
more Logical CPUs.getProcessor in interface HardwareAbstractionLayerCentralProcessor object.public abstract PowerSource[] getPowerSources()
PowerSource objects, representing
batteries, etc.getPowerSources in interface HardwareAbstractionLayerpublic abstract FileSystem getFileSystem()
FileSystem object.getFileSystem in interface HardwareAbstractionLayerFileSystem object.public abstract OSFileStore[] getFileStores()
OSFileStore objects, representing a
storage pool, device, partition, volume, concrete file system or other
implementation specific means of file storage.getFileStores in interface HardwareAbstractionLayerpublic abstract HWDiskStore[] getDiskStores()
HWDiskStore objects, representing a disk
poolgetDiskStores in interface HardwareAbstractionLayerpublic abstract Display[] getDisplays()
Display objects, representing monitors
or other video output devices.getDisplays in interface HardwareAbstractionLayerpublic abstract Sensors getSensors()
Sensors object, representing CPU temperature and
fan speedgetSensors in interface HardwareAbstractionLayerpublic abstract UsbDevice[] getUsbDevices()
UsbDevice objects, representing devices
connected via a usb port (including internal devices). The top level
devices returned from this method are the USB Controllers; connected hubs
and devices in its device tree share that controller's bandwidthgetUsbDevices in interface HardwareAbstractionLayerpublic javax.json.JsonObject toJSON()
toJSON in interface OshiJsonObjectCopyright © 2010–2016 com.github.dblock. All rights reserved.