DMLTSConnectionParameters
Defines a struct to configure the parameters to connect to License Tracking Server.
Note:
- This class is removed in version 9.0.
class com.dynamsoft.dbr.DMLTSConnectionParameters
Attributes | Type | Descriptions |
---|---|---|
mainServerURL |
String | The URL of the License Tracking Server. |
standbyServerURL |
String | The URL of the standby License Tracking Server. |
handshakeCode |
String | The handshake code. |
sessionPassword |
String | The session password of the handshake code set in License Tracking Server. |
uuidGenerationMethod |
int | Sets the method to generate UUID. |
maxBufferDays |
int | Sets the max days to buffer the license info. |
limitedLicenseModules |
int[] | Sets the license modules to use. |
chargeWay |
int | Sets the charge way. |
mainServerURL
The URL of the Dynamsoft License Server.
String mainServerURL
Value Range
Any string value
Default Value
null
Remarks
If you choose “Dynamsoft-hosting”, then no need to change the value of MainServerURL and StandbyServerURL. When both are set to null (default value), it will connect to Dynamsoft’s License Tracking Server for online verification.
standbyServerURL
The URL of the standby License Tracking Server.
String standbyServerURL
Value Range
Any string value
Default Value
null
Remarks
If you choose “Dynamsoft-hosting”, then no need to change the value of MainServerURL and StandbyServerURL. When both are set to null (default value), it will connect to License Tracking Server for online verification.
handshakeCode
The handshake code.
String handshakeCode
Value Range
Any string value
Default Value
null
sessionPassword
The session password of the handshake code set in License Tracking Server.
String sessionPassword
Value Range
Any string value
Default Value
null
uuidGenerationMethod
Sets the method to generate UUID.
int uuidGenerationMethod
Value Range
Any one of the EnumDMUUIDGenerationMethod
Enumeration items.
Default Value
DM_UUIDGM_RANDOM
maxBufferDays
Sets the max days to buffer the license info.
int maxBufferDays
Value Range
[7,0x7fffffff]
Default Value
7
limitedLicenseModules
Sets the license modules to use.
List<Integer> limitedLicenseModules
Value Range
A list of the EnumDMLicenseModule
enumeration items.
Default Value
null
chargeWay
Sets the charge way.
int chargeWay
Value Range
Any one of the EnumDMChargeWay
enumeration items.