public class LicenseDelegator extends BaseDelegator implements ILicenseDelegator
MAX_LIMIT_SUPPORTED_MIN_VERSION, QUERY_EXPRESSIONS_SUPPORTED_MIN_VERSION, USER_RESTRICTIONS_SUPPORTED_MIN_VERSION
Constructor and Description |
---|
LicenseDelegator(IOptionsServer server)
Basic constructor, taking a server object.
|
Modifier and Type | Method and Description |
---|---|
ILicense |
getLicense() |
ILicenseLimits |
getLimits() |
java.util.List<IServerIPMACAddress> |
getValidServerIPMACAddress() |
java.lang.String |
updateLicense(ILicense license) |
public LicenseDelegator(IOptionsServer server)
server
- - an instance of the currently effective server implementationpublic ILicenseLimits getLimits() throws P4JavaException
getLimits
in interface ILicenseDelegator
P4JavaException
public ILicense getLicense() throws P4JavaException
getLicense
in interface ILicenseDelegator
P4JavaException
public java.lang.String updateLicense(ILicense license) throws P4JavaException
updateLicense
in interface ILicenseDelegator
P4JavaException
public java.util.List<IServerIPMACAddress> getValidServerIPMACAddress() throws P4JavaException
getValidServerIPMACAddress
in interface ILicenseDelegator
P4JavaException