public interface Policy
LicenseChecker to determine whether a user should have
access to the application.| Modifier and Type | Field and Description |
|---|---|
static int |
LICENSED
LICENSED means that the server returned back a valid license response
|
static int |
NOT_LICENSED
NOT_LICENSED means that the server returned back a valid license response
that indicated that the user definitively is not licensed
|
static int |
RETRY
RETRY means that the license response was unable to be determined ---
perhaps as a result of faulty networking
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowAccess()
Check if the user should be allowed access to the application.
|
void |
processServerResponse(int response,
ResponseData rawData)
Provide results from contact with the license server.
|
static final int LICENSED
static final int NOT_LICENSED
static final int RETRY
void processServerResponse(int response,
ResponseData rawData)
response - the result from validating the server responserawData - the raw server response data, can be null for RETRYboolean allowAccess()
Copyright © 2012–2014 simpligility technologies inc.. All rights reserved.