public interface ISystemManagerService
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SERVICE_NAME
Reports the class name representing this interface.
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList |
getAllComPorts()
gets the complete list of COM ports based on the configuration
|
java.util.ArrayList |
getAllEthernetInterfaces()
gets a complete list of all Ethernet interfaces on the system
|
java.util.ArrayList |
getAllWifiInterfaces()
gets the complete list of Wifi interfaces present in the system
|
java.lang.String |
getCompany()
gets the company name this device was set up for.
|
java.util.ArrayList |
getComPortsInUse()
gets a list of all COM ports currently registered as being in use
|
java.util.ArrayList |
getComPortsNotInUse()
gets a list of all COM ports currently not registered as being in use
|
java.lang.String |
getEntity()
gets the broker 'entity' this device was set up for.
|
java.lang.String |
getEsfBaseBundleDirectory()
gets the location where the ESF base bundle directory is.
|
java.lang.String |
getEsfConfigDirectory()
gets the location where all ESF specific non-volatile configuration files and bundle specific files are
stored.
|
java.lang.String |
getEsfHome()
gets the location where the ESF root directory is stored in the filesystem
|
java.lang.String |
getFileSeparator()
gets the system file separator used by the filesystem
|
java.lang.String |
getJavaHome()
gets the location where the JVM is stored in the filesystem
|
java.lang.String |
getJavaProfile()
gets the Java Virtual Machine profile that is currently being used
|
java.lang.String |
getJavaVmName()
gets the Java Virtual Machine name that is currently being used
|
java.lang.String |
getJavaVmVersion()
gets the Java Virtual Machine version that is currently being used
|
java.util.ArrayList |
getNativeEthernetInterfaces()
gets the complete list of native Ethernet interfaces based on the configuration
|
java.lang.String |
getOsArch()
gets the Operating System architecture for the system
|
java.lang.String |
getOsDistro()
gets the Operating System Distribution name if appropriate
|
java.lang.String |
getOsDistroVersion()
gets the Operating System Distribution version if appropriate
|
java.lang.String |
getOsName()
gets the Operating System name for the system
|
java.lang.String |
getOsVersion()
gets the Operating System version for the system
|
java.lang.String |
getPlatform()
/**
gets the platform name ESF is running on.
|
java.lang.String |
getPrimaryMacAddress()
gets the 'primary' MAC address of this device.
|
java.lang.String |
getProductVersion()
gets the product version for this unit.
|
java.lang.String |
getProject()
gets the project name this device was set up for
|
java.lang.String |
getTemporaryConfigDirectory()
gets the location where all volatile ESF specific configuration and status information should be stored.
|
void |
reboot()
reboots the device
|
void |
setComPortInUse(EsfSerialPort port)
sets a COM port as being in use
|
void |
sync()
Synchronizes data on flash with memory
|
static final java.lang.String SERVICE_NAME
java.lang.String getEntity() throws java.lang.Exception
java.lang.Exception
java.lang.String getCompany() throws java.lang.Exception
java.lang.Exception
java.lang.String getProject() throws java.lang.Exception
java.lang.Exception
java.lang.String getPrimaryMacAddress() throws java.lang.Exception
java.lang.Exception
java.lang.String getPlatform() throws java.lang.Exception
java.lang.Exception
- if the platform is undefined or can not be determinedjava.lang.String getOsArch()
java.lang.String getOsName()
java.lang.String getOsVersion()
java.lang.String getOsDistro() throws java.lang.Exception
java.lang.Exception
- if the Distribution name is undefined or not applicablejava.lang.String getOsDistroVersion() throws java.lang.Exception
java.lang.Exception
- if the Distribution version is undefined or not applicablejava.lang.String getJavaVmName()
java.lang.String getJavaVmVersion()
java.lang.String getJavaProfile()
java.lang.String getFileSeparator()
java.lang.String getJavaHome()
java.lang.String getProductVersion() throws java.lang.Exception
java.lang.Exception
java.lang.String getEsfHome()
java.lang.String getEsfBaseBundleDirectory()
java.lang.String getEsfConfigDirectory()
java.lang.String getTemporaryConfigDirectory()
java.util.ArrayList getNativeEthernetInterfaces() throws java.lang.Exception
java.lang.Exception
- if the platform is undefined or can not be determinedjava.util.ArrayList getAllEthernetInterfaces() throws java.lang.Exception
java.lang.Exception
- if there is a problem getting the interfacesjava.util.ArrayList getAllComPorts()
java.util.ArrayList getComPortsInUse()
java.util.ArrayList getComPortsNotInUse()
void setComPortInUse(EsfSerialPort port) throws java.lang.Exception
port
- an EsfSerialPort that is being registered as in usejava.lang.Exception
- if the port is already listed as being in usejava.util.ArrayList getAllWifiInterfaces() throws java.lang.Exception
java.lang.Exception
- if there is a problem fetching the wifi interfacesvoid reboot() throws java.lang.Exception
java.lang.Exception
void sync() throws java.lang.Exception
java.lang.Exception
Copyright © 2009 Eurotech Inc. All rights reserved.