Class StepLicenseNotificationHandler

  • All Implemented Interfaces:
    ch.exense.licensing.client.LicenseNotificationHandler

    public class StepLicenseNotificationHandler
    extends java.lang.Object
    implements ch.exense.licensing.client.LicenseNotificationHandler
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface ch.exense.licensing.client.LicenseNotificationHandler

        ch.exense.licensing.client.LicenseNotificationHandler.Expiry
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onGrantAppeared​(ch.exense.licensing.model.ResourceGrant grant)  
      void onGrantDisappeared​(ch.exense.licensing.model.ResourceGrant grant)  
      void onGrantExpired​(ch.exense.licensing.model.ResourceGrant grant)  
      void onGrantExpiring​(ch.exense.licensing.model.ResourceGrant grant, ch.exense.licensing.client.LicenseNotificationHandler.Expiry expiry)  
      void onIncorrectBaseContext​(ch.exense.licensing.model.ResourceGrant grant, ch.exense.licensing.model.LicensingContext expectedBaseContext)  
      void onIncorrectSignature​(ch.exense.licensing.model.ResourceGrant grant)  
      void onLicensingException​(ch.exense.licensing.LicensingException exception)  
      void onUnknownResourceId​(ch.exense.licensing.model.ResourceId resourceId)  
      void onUnlicensedUsage​(ch.exense.licensing.model.ResourceUsage usage)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StepLicenseNotificationHandler

        public StepLicenseNotificationHandler()
    • Method Detail

      • onGrantAppeared

        public void onGrantAppeared​(ch.exense.licensing.model.ResourceGrant grant)
        Specified by:
        onGrantAppeared in interface ch.exense.licensing.client.LicenseNotificationHandler
      • onGrantDisappeared

        public void onGrantDisappeared​(ch.exense.licensing.model.ResourceGrant grant)
        Specified by:
        onGrantDisappeared in interface ch.exense.licensing.client.LicenseNotificationHandler
      • onGrantExpired

        public void onGrantExpired​(ch.exense.licensing.model.ResourceGrant grant)
        Specified by:
        onGrantExpired in interface ch.exense.licensing.client.LicenseNotificationHandler
      • onIncorrectBaseContext

        public void onIncorrectBaseContext​(ch.exense.licensing.model.ResourceGrant grant,
                                           ch.exense.licensing.model.LicensingContext expectedBaseContext)
        Specified by:
        onIncorrectBaseContext in interface ch.exense.licensing.client.LicenseNotificationHandler
      • onIncorrectSignature

        public void onIncorrectSignature​(ch.exense.licensing.model.ResourceGrant grant)
        Specified by:
        onIncorrectSignature in interface ch.exense.licensing.client.LicenseNotificationHandler
      • onUnknownResourceId

        public void onUnknownResourceId​(ch.exense.licensing.model.ResourceId resourceId)
        Specified by:
        onUnknownResourceId in interface ch.exense.licensing.client.LicenseNotificationHandler
      • onLicensingException

        public void onLicensingException​(ch.exense.licensing.LicensingException exception)
        Specified by:
        onLicensingException in interface ch.exense.licensing.client.LicenseNotificationHandler
      • onGrantExpiring

        public void onGrantExpiring​(ch.exense.licensing.model.ResourceGrant grant,
                                    ch.exense.licensing.client.LicenseNotificationHandler.Expiry expiry)
        Specified by:
        onGrantExpiring in interface ch.exense.licensing.client.LicenseNotificationHandler
      • onUnlicensedUsage

        public void onUnlicensedUsage​(ch.exense.licensing.model.ResourceUsage usage)
        Specified by:
        onUnlicensedUsage in interface ch.exense.licensing.client.LicenseNotificationHandler