fm.liveswitch.IPlatform Interface Reference

Platform-specific methods. More...

Public Member Functions

abstract fm.liveswitch.Architecture getArchitecture ()
 Gets the current CPU architecture. More...
 
abstract int getCoreCount ()
 Gets the current CPU core count. More...
 
abstract fm.liveswitch.CryptoLibrary getCryptoLibrary ()
 Gets the cryptography library to use. More...
 
abstract String getDirectorySeparator ()
 Gets the character used to separate directories. More...
 
abstract boolean getIsLittleEndian ()
 Gets a value indicating whether this is little-endian platform. More...
 
abstract boolean getIsMobile ()
 Gets a value indicating whether this is a mobile platform. More...
 
abstract String getMachineName ()
 Gets the current machine name. More...
 
abstract fm.liveswitch.OperatingSystem getOperatingSystem ()
 Gets the current operating system. More...
 
abstract String getOperatingSystemVersion ()
 Gets the current operating system version. More...
 
abstract long getPhysicalMemory ()
 Gets the current physical memory in bytes. More...
 
abstract int getProcessId ()
 Gets the id of the current process. More...
 
abstract fm.liveswitch.SourceLanguage getSourceLanguage ()
 Gets the current programming language for the source code. More...
 
abstract boolean getUseFipsAlgorithms ()
 Gets a value that indicates whether FIPS algorithms should be used. More...
 
abstract void setCryptoLibrary (fm.liveswitch.CryptoLibrary value)
 Sets the cryptography library to use. More...
 
abstract void setIsMobile (boolean value)
 Sets a value indicating whether this is a mobile platform. More...
 
abstract void setUseFipsAlgorithms (boolean value)
 Sets a value that indicates whether FIPS algorithms should be used. More...
 

Detailed Description

Platform-specific methods.

Member Function Documentation

◆ getArchitecture()

abstract fm.liveswitch.Architecture fm.liveswitch.IPlatform.getArchitecture ( )
abstract

Gets the current CPU architecture.

Implemented in fm.liveswitch.Platform.

◆ getCoreCount()

abstract int fm.liveswitch.IPlatform.getCoreCount ( )
abstract

Gets the current CPU core count.

Implemented in fm.liveswitch.Platform.

◆ getCryptoLibrary()

abstract fm.liveswitch.CryptoLibrary fm.liveswitch.IPlatform.getCryptoLibrary ( )
abstract

Gets the cryptography library to use.

Implemented in fm.liveswitch.Platform.

◆ getDirectorySeparator()

abstract String fm.liveswitch.IPlatform.getDirectorySeparator ( )
abstract

Gets the character used to separate directories.

Implemented in fm.liveswitch.Platform.

◆ getIsLittleEndian()

abstract boolean fm.liveswitch.IPlatform.getIsLittleEndian ( )
abstract

Gets a value indicating whether this is little-endian platform.

Implemented in fm.liveswitch.Platform.

◆ getIsMobile()

abstract boolean fm.liveswitch.IPlatform.getIsMobile ( )
abstract

Gets a value indicating whether this is a mobile platform.

Implemented in fm.liveswitch.Platform.

◆ getMachineName()

abstract String fm.liveswitch.IPlatform.getMachineName ( )
abstract

Gets the current machine name.

Implemented in fm.liveswitch.Platform.

◆ getOperatingSystem()

abstract fm.liveswitch.OperatingSystem fm.liveswitch.IPlatform.getOperatingSystem ( )
abstract

Gets the current operating system.

Implemented in fm.liveswitch.Platform.

◆ getOperatingSystemVersion()

abstract String fm.liveswitch.IPlatform.getOperatingSystemVersion ( )
abstract

Gets the current operating system version.

Implemented in fm.liveswitch.Platform.

◆ getPhysicalMemory()

abstract long fm.liveswitch.IPlatform.getPhysicalMemory ( )
abstract

Gets the current physical memory in bytes.

Implemented in fm.liveswitch.Platform.

◆ getProcessId()

abstract int fm.liveswitch.IPlatform.getProcessId ( )
abstract

Gets the id of the current process.

Implemented in fm.liveswitch.Platform.

◆ getSourceLanguage()

abstract fm.liveswitch.SourceLanguage fm.liveswitch.IPlatform.getSourceLanguage ( )
abstract

Gets the current programming language for the source code.

Implemented in fm.liveswitch.Platform.

◆ getUseFipsAlgorithms()

abstract boolean fm.liveswitch.IPlatform.getUseFipsAlgorithms ( )
abstract

Gets a value that indicates whether FIPS algorithms should be used.

Note that not all platforms or third-party libraries are FIPS-compliant, so this should not be used as a guarantee of FIPS compliance.

Implemented in fm.liveswitch.Platform.

◆ setCryptoLibrary()

abstract void fm.liveswitch.IPlatform.setCryptoLibrary ( fm.liveswitch.CryptoLibrary  value)
abstract

Sets the cryptography library to use.

◆ setIsMobile()

abstract void fm.liveswitch.IPlatform.setIsMobile ( boolean  value)
abstract

Sets a value indicating whether this is a mobile platform.

Implemented in fm.liveswitch.Platform.

◆ setUseFipsAlgorithms()

abstract void fm.liveswitch.IPlatform.setUseFipsAlgorithms ( boolean  value)
abstract

Sets a value that indicates whether FIPS algorithms should be used.

Note that not all platforms or third-party libraries are FIPS-compliant, so this should not be used as a guarantee of FIPS compliance.

Implemented in fm.liveswitch.Platform.