Class LicenseClient
java.lang.Object
com.logicaldoc.enterprise.license.LicenseClient
Client part for connecting with the LM.
- Since:
- 7.5.3
- Author:
- Marco Meschieri - LogicalDOC
-
Method Summary
Modifier and TypeMethodDescriptionintcountTrials(String userNo) static StringgenerateRequest(String userNo) static LicenseClientget()static voidbooleanvoidvoidstoreLicenseFile(File tmpFile) Stores the new license file, and if is not formally valid or some errors occur the old license is left unchanged
-
Method Details
-
get
-
getLicenseFile
-
storeLicenseFile
Stores the new license file, and if is not formally valid or some errors occur the old license is left unchanged- Parameters:
tmpFile- temporary file with the license to import, it will be deleted at the end- Returns:
- null if all went ok, or an error code
-
generateRequest
-
mustSync
- Throws:
IOException
-
activate
- Throws:
IOException
-
unbind
- Throws:
IOException
-
countTrials
-
startPolling
public void startPolling() -
stopPolling
public void stopPolling() -
main
-