![]() |
Zentitle SDK and Library
|
Public Member Functions | |
PSL (NALP nalp, int oset) | |
void | PSLSetLicNo (String licNo) |
String | PSLGetLicNo () |
String | callPSLGetVersion () throws nalpError |
Gets the vewrsion of the PSL library being accessed. See PSLGetVersion() More... | |
long | callPSLGetLibraryOptions () throws nalpError |
Retrieves the library stamp options for the current library. See NSLGetLibraryOptions(). More... | |
String | callPSLGetComputerID () throws nalpError |
Gets the computer ID of the current system. See PSLGetComputerID(). More... | |
int | callPSLGetLeaseExpSec () throws nalpError |
Get the lease expiration time in seconds. See PSLGetLeaseExpSec(). More... | |
String | callPSLGetLeaseExpDate () throws nalpError |
Get the lease expiration date. See PSLGetLeaseExpDate(). More... | |
int | callPSLGetMaintExpSec () throws nalpError |
Get remaining seconds in maintanence period. Available only on certain platforms. More... | |
String | callPSLGetMaintExpDate () throws nalpError |
Get the maintanence expiration date. Available only on certain platforms. More... | |
int | callPSLImportLicense (String licenseNo, String cert) throws nalpError |
Imports a license from the given certificate. See PSLImportCertificate(). More... | |
int | callPSLValidateLibrary (int custID, int prodID) throws nalpError |
Verifies that the shared library you are accessing is the library you stamped at Nalpeiron's website. It does this by checking the customerID and productID sent in against the stamped values. See PSLValidateLibrary(). Any negative return value, even if it is not a known error code, is cause to consider the library invalid. More... | |
int | callPSLGetLicenseStatus () throws nalpError |
Retrieves the status of the current license. Negative values indicate an invalid license state. See PSLGetLicenseStatus(). More... | |
int | callPSLGetMaxProcs () throws nalpError |
If the number of concurrent processes was limited when the system's license was created, this function will return the maximum number of allowed processes. More... | |
int | callPSLGetAvailProcs () throws nalpError |
If the number of concurrent processes was limited when the system's license was created, this function will return the number of allowed processes still remaining for use. More... | |
String | callPSLGetLicenseCode () throws nalpError |
Retrieves the license code used with the current license. NOTE: a license code will only be present if one has already been assigned to the current license via PSLGetLicense, PSLImportCert, etc. See PSLGetLicenseCode(). More... | |
int | callPSLGetFeatureStatus (String featureName) throws nalpError |
Checks the current license for the status of featureName. See PSLGetFeatureStatus(). More... | |
String | callPSLGetUDFValue (String UDFName) throws nalpError |
Retrieve the value of a UDF (AA). See PSLGetUDFValue(). More... | |
|
inline |
|
inline |
If the number of concurrent processes was limited when the system's license was created, this function will return the number of allowed processes still remaining for use.
A license may limit the number of simultaneous copies allowed to run on a specific computer. This limit is disabled by default and, if desired, must be enabled on the Nalpeiron server. The number of copies available is set to noProcs+1 and availProc is the number of copies still available for use. When an application instance is started and returns availProc=0, the number of instances exceeds the maximum allowed and this instance should be terminated.
When disabled, this fuction will always return zero (0) as noProcs and one (1) as the number of availProc. NOTE limiting the number of processes allowed on a machine ("Number of concurrent Processes" setting on server) is not affected by the "Concurrency Mode" setting. See PSLGetNumbAvailProc()
nalpError | If there was a problem calling the PSLfunction, this error will be thrown (Nalpeiron V10 error returns) |
|
inline |
Gets the computer ID of the current system. See PSLGetComputerID().
nalpError | If there was a problem calling the PSL function, this error will be thrown (Nalpeiron V10 error returns) |
|
inline |
Checks the current license for the status of featureName. See PSLGetFeatureStatus().
featureName | a string containing the five (5) character feature code of the feature to be checked out. |
nalpError | If there was a problem calling the PSL function, this error will be thrown (Nalpeiron V10 error returns) |
|
inline |
Get the lease expiration date. See PSLGetLeaseExpDate().
nalpError | If there was a problem calling the PSL function, this error will be thrown (Nalpeiron V10 error returns) |
|
inline |
Get the lease expiration time in seconds. See PSLGetLeaseExpSec().
nalpError | If there was a problem calling the PSL function, this error will be thrown (Nalpeiron V10 error returns) |
|
inline |
Retrieves the library stamp options for the current library. See NSLGetLibraryOptions().
nalpError | If there was a problem calling the NSLfunction, this error will be thrown (Nalpeiron V10 error returns) |
|
inline |
Retrieves the license code used with the current license. NOTE: a license code will only be present if one has already been assigned to the current license via PSLGetLicense, PSLImportCert, etc. See PSLGetLicenseCode().
nalpError | If there was a problem calling the PSL function, this error will be thrown (Nalpeiron V10 error returns) |
|
inline |
Retrieves the status of the current license. Negative values indicate an invalid license state. See PSLGetLicenseStatus().
nalpError | If there was a problem calling the PSLfunction, this error will be thrown (Nalpeiron V10 error returns) |
|
inline |
Get the maintanence expiration date. Available only on certain platforms.
nalpError | If there was a problem calling the PSL function, this error will be thrown (Nalpeiron V10 error returns) |
|
inline |
Get remaining seconds in maintanence period. Available only on certain platforms.
nalpError | If there was a problem calling the PSL function, this error will be thrown (Nalpeiron V10 error returns) |
|
inline |
If the number of concurrent processes was limited when the system's license was created, this function will return the maximum number of allowed processes.
A license may limit the number of simultaneous copies allowed to run on a specific computer. This limit is disabled by default and, if desired, must be enabled on the Nalpeiron server. The number of copies available is set to noProcs+1 and availProc is the number of copies still available for use. When an application instance is started and returns availProc=0, the number of instances exceeds the maximum allowed and this instance should be terminated.
When disabled, this fuction will always return zero (0) as noProcs and one (1) as the number of availProc. NOTE limiting the number of processes allowed on a machine ("Number of concurrent Processes" setting on server) is not affected by the "Concurrency Mode" setting. See PSLGetNumbAvailProc()
nalpError | If there was a problem calling the PSLfunction, this error will be thrown (Nalpeiron V10 error returns) |
|
inline |
Retrieve the value of a UDF (AA). See PSLGetUDFValue().
UDFName | a string containing the five (5) character UDF code of the value to be accessed |
nalpError | If there was a problem calling the PSL function, this error will be thrown (Nalpeiron V10 error returns) |
|
inline |
Gets the vewrsion of the PSL library being accessed. See PSLGetVersion()
nalpError | If there was a problem calling the PSL function, this error will be thrown (Nalpeiron V10 error returns) |
|
inline |
Imports a license from the given certificate. See PSLImportCertificate().
licenseNo | the license number associated with the given license certificate |
cert | Either the certificate itself passed in as a NULL terminated string or the full path to a file containing the certificate. |
nalpError | If there was a problem calling the PSL function, this error will be thrown (Nalpeiron V10 error returns) |
|
inline |
Verifies that the shared library you are accessing is the library you stamped at Nalpeiron's website. It does this by checking the customerID and productID sent in against the stamped values. See PSLValidateLibrary(). Any negative return value, even if it is not a known error code, is cause to consider the library invalid.
custID | a unsigned 32 bit integer containing your Nalpeiron customer ID. |
prodID | a unsigned 32 bit integer containing your Nalpeiron product ID. |
nalpError | If there was a problem calling the PSL function, this error will be thrown (Nalpeiron V10 error returns) |
|
inline |
|
inline |