|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LicenseHostListener
This class represents listener that allow getting various information about license checking process and result.
Method Summary | |
---|---|
void |
featureChecked(LicenseHost aSource,
License aLicense,
java.lang.String aFeature,
boolean isEnabled)
The License Host calls this method to notify listener that product feature is checked and available. |
void |
licenseAboutToExpire(LicenseHost aSource,
License aLicense,
int aDaysLeft)
The License Host calls this method to notify listener that license is about to expire in specified number of days. Note, this method can be used with Protection! Professional edition only. |
void |
licenseAccepted(LicenseHost aSource,
License aLicense,
boolean isAccepted)
The License Host calls this method to notify listener that license agreement is accepted or declined by the user. |
void |
licenseExpired(LicenseHost aSource,
License aLicense)
The License Host calls this method to notify listener that license is already expired. |
void |
licenseInvalid(LicenseHost aSource,
License aLicense)
The License Host calls this method to notify listener that license is invalid e.g. |
void |
licenseLockExpired(LicenseHost aSource,
License aLicense,
java.lang.String aReason)
The License Host calls this method to notify the listener that the license lock has expired. |
void |
licenseLockRevoked(LicenseHost aSource,
License aLicense,
java.lang.String aReason)
The License Host calls this method to notify the listener that the license lock revocation is requested by the Licensing Server administrator. |
void |
licenseLockViolation(LicenseHost aSource,
License aLicense)
The License Host calls this method to notify listener that license is activated for use on other computer. Note, this method can be used with Protection! Professional edition only. |
void |
licenseNeedActivation(LicenseHost aSource,
License aLicense,
int aDaysLeft)
The License Host calls this method to notify listener that license need to be activated in aDaysLeft days.Note, this method can be used with Protection! Professional edition only. |
void |
licenseNeedLock(LicenseHost aSource,
License aLicense,
int aDaysLeft)
The License Host calls this method to notify the listener that the requirement to acquire license lock will be mandatory in aDaysLeft days.Note, this method can be used with Protection! Professional edition only and can be fired when license need to be locked through the Licensing Server. |
void |
licenseNotActivated(LicenseHost aSource,
License aLicense)
The License Host calls this method to notify listener that license is not activated. Note, this method can be used with Protection! Professional edition only. |
void |
licenseNotLocked(LicenseHost aSource,
License aLicense,
java.lang.String aReason)
The License Host calls this method to notify the listener that license lock has not been acquired. |
void |
licenseOk(LicenseHost aSource,
License aLicense)
The License Host calls this method to notify listener that license is OK. |
void |
licenseUseLimitAboutReach(LicenseHost aSource,
License aLicense,
int aUseLeft)
The License Host calls this method to notify listener that license is about to expire after specified number of usages. Note, this method can be used with Protection! Professional edition only. |
void |
numberCopiesViolation(LicenseHost aSource,
License aLicense,
int aNumberInUse)
The License Host calls this method to notify listener that the actual number of concurrently executing applications, which use the same license, exceed maximum allowed number. Note, this method can be used with Protection! Professional edition only. |
Method Detail |
---|
void licenseExpired(LicenseHost aSource, License aLicense)
aSource
- the license host.aLicense
- instance of the license.void licenseOk(LicenseHost aSource, License aLicense)
aSource
- the license host.aLicense
- instance of the license.void licenseInvalid(LicenseHost aSource, License aLicense)
aSource
- the license host.aLicense
- instance of the license.void licenseAccepted(LicenseHost aSource, License aLicense, boolean isAccepted)
aSource
- the license host.aLicense
- instance of the license.isAccepted
- true
if license agreement is accepted,
false
otherwise.void featureChecked(LicenseHost aSource, License aLicense, java.lang.String aFeature, boolean isEnabled)
aSource
- the license host.aLicense
- instance of the license.aFeature
- name of the feature.isEnabled
- true
if feature is enabled, false
otherwise.void licenseAboutToExpire(LicenseHost aSource, License aLicense, int aDaysLeft)
aSource
- the license host.aLicense
- instance of the license.aDaysLeft
- days left to license expiration.void licenseUseLimitAboutReach(LicenseHost aSource, License aLicense, int aUseLeft)
aSource
- the license host.aLicense
- instance of the license.aUseLeft
- usages left to license expiration.void licenseLockViolation(LicenseHost aSource, License aLicense)
aSource
- the license host.aLicense
- instance of the license.void numberCopiesViolation(LicenseHost aSource, License aLicense, int aNumberInUse)
aSource
- the license host.aLicense
- instance of the license.aNumberInUse
- actual number of copies in use.void licenseNotActivated(LicenseHost aSource, License aLicense)
aSource
- the license host.aLicense
- instance of the license.void licenseNeedActivation(LicenseHost aSource, License aLicense, int aDaysLeft)
aDaysLeft
days.
aSource
- the license host.aLicense
- instance of the license.aDaysLeft
- number of days left till the license will be considered as
not activated onevoid licenseNeedLock(LicenseHost aSource, License aLicense, int aDaysLeft)
aDaysLeft
days.
aSource
- the License Host.aLicense
- instance of the license.aDaysLeft
- number of days left untill the license will be considered as
not locked onevoid licenseNotLocked(LicenseHost aSource, License aLicense, java.lang.String aReason)
aSource
- the license host.aLicense
- instance of the license.aReason
- why license lock is not acquiredvoid licenseLockRevoked(LicenseHost aSource, License aLicense, java.lang.String aReason)
aSource
- the license host.aLicense
- instance of the license.aReason
- why license lock revocation is requested.void licenseLockExpired(LicenseHost aSource, License aLicense, java.lang.String aReason)
aSource
- the license host.aLicense
- instance of the license.aReason
- why license is expired
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |