Package de.mid.innovator.srv
Interface ILicensingService
- All Known Implementing Classes:
LicenseServer
public interface ILicensingService
This interface is implementet by the Innovator LicenseServer. It can be used to
obtain or set all relevant licensing data.
-
Method Summary
Modifier and TypeMethodDescriptionGets the host id.intGets the total number of licenses of a given license type.Gets the licensee.intbooleanDetermines whether [is license registered].voidlockLicense(LicenseServer.License license) Locks another license of given type.voidregisterLicense(String key) Registers a new obtained license.voidregisterProgram(InoProgram.Type progType) voidvoid
-
Method Details
-
getHostId
Gets the host id.- Throws:
InoNetException
-
getLicenseCount
Gets the total number of licenses of a given license type.- Parameters:
lic- The license.- Returns:
- the number of licenses that can be used parallel
- Throws:
InoNetException
-
getLicensee
Gets the licensee.- Returns:
- a formatted string
- Throws:
InoNetException
-
isLicenseRegistered
Determines whether [is license registered].- Returns:
- true if [is license registered]; otherwise false
- Throws:
InoNetException
-
lockLicense
Locks another license of given type.- Parameters:
license- The type of the license to lock.- Throws:
InoNetException
-
registerLicense
Registers a new obtained license.- Parameters:
key- The key.- Throws:
InoNetException
-
sendLicenseFile
- Throws:
InoNetExceptionIOException
-
registerProgram
-
unregisterProgram
- Throws:
InoNetException
-
getSerialNumber
- Throws:
InoNetException
-