public interface CheckLicenseSubscriber
Modifier and Type | Interface and Description |
---|---|
static class |
CheckLicenseSubscriber.IgnoreCheckEventSubscriber
Default do-nothing class.
|
Modifier and Type | Method and Description |
---|---|
default void |
onError(com.licensespring.model.LicenseIdentity old,
com.licensespring.model.exceptions.LicenseSpringException exception)
Defines what to do when an error arises while doing the background check call to the server.
|
default void |
onSuccess(com.licensespring.dto.CheckResponse checkResponse)
This method is called when the license has been successfully activated in the background.
|
default void onError(com.licensespring.model.LicenseIdentity old, com.licensespring.model.exceptions.LicenseSpringException exception)
old
- the license identity used to call the APIsexception
- the exception that was thrown during the check calldefault void onSuccess(com.licensespring.dto.CheckResponse checkResponse)
checkResponse
- check response from the server.Copyright © 2024 Cense Data Inc.. All rights reserved.