![]() |
Zentitle SDK and Library
|
Public Member Functions | |
int | callPSLLibOpen (int LogLevel, String LicenseCode, String WorkDir, int LogQLen, int security) throws nalpError |
Initializes the Nalpeiron C library for use. See NalpLibOpen(). More... | |
int | callPSLLibClose () throws nalpError |
Shuts down the library. THIS FUNCTION MUST BE CALLED IMMEDIATELY BEFORE CLOSING THE LIBRARY (ie with dlclose). If this function is not called before the library is closed, information may be lost and memory corruption could occur. More... | |
String | callPSLGetErrorMsg (int nalpErrorNo) throws nalpError |
Get a descriptive string for nalpeiron error codes. More... | |
|
inline |
Get a descriptive string for nalpeiron error codes.
nalpErrorNo | is a negative return value from one of the Nalpeiron functions |
|
inline |
Shuts down the library. THIS FUNCTION MUST BE CALLED IMMEDIATELY BEFORE CLOSING THE LIBRARY (ie with dlclose). If this function is not called before the library is closed, information may be lost and memory corruption could occur.
nalpError | If there was a problem calling the NSA function, this error will be thrown |
nalpError | If there was a problem calling the NSL function, this error will be thrown. (Nalpeiron V10 error returns) |
|
inline |
Initializes the Nalpeiron C library for use. See NalpLibOpen().
LogLevel | is an integer 0 to 6. If loglevel is not specified it will default to level 0 (off). You should not use log level higher than 4. The higher levels do not provide any useful end user debugging. |
LicenseCode | the license code for this product |
WorkDir | is the location where the library will store all its working files (ie log file, cache file, license files, etc). If this value is not specified the files will be stored in the default Nalpeiron directory (cwd, or current working directory) on Linux and Mac, in a publically accessible directory selected by the OS on Windows). |
LogQLen | the maximum length of the logging queue. |
security | is used along with the authentication values stamped into the library to create a unique offset that is added to all returns. The default is 0 (ie returns from the library will NOT be modified). |
nalpError | If there was a problem initializing the library this error will be thrown |