layout | title | description | keywords | needAutoGenerateSidebar | needGenerateH3Content | permalink |
---|---|---|---|---|---|---|
default-layout |
Class DMLTSConnectionParameters - Dynamsoft Label Recognizer Java Edition |
This page shows the DMLTSConnectionParameters struct of Dynamsoft Label Recognition for Java Language. |
DMLTSConnectionParameters, struct, java |
true |
true |
/programming/java/api-reference/dm-lts-connection-parameters-v1.2.1.html |
Defines a struct to configure the parameters to connect to license tracking server.
Attribute | Type |
---|---|
mainServerURL |
String |
standbyServerURL |
String |
handshakeCode |
String |
sessionPassword |
String |
deploymentType |
int |
chargeWay |
int |
UUIDGenerationMethod |
int |
maxBufferDays |
int |
limitedLicenseModules |
int[] |
maxConcurrentInstanceCount |
int |
organizationID |
String |
products |
int |
The URL of the license tracking server.
String mainServerURL
Value Range
Any string value
Default value
""
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 servers for online verification.
The URL of the standby license tracking server.
String standbyServerURL
Value Range
Any string value
Default value
""
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 servers for online verification.
The handshake code.
String handshakeCode
Value Range
Any string value
Default value
""
The session password of the handshake code set in license tracking server.
String sessionPassword
Value Range
Any string value
Default value
""
Sets the deployment type.
int deploymentType
Value Range
Any one of the [EnumDMDeploymentType
]({{ site.dlr_enumerations }}other-enums.html#dm_deploymenttype) Enumeration items.
Default value
DM_DT_DESKTOP
See also
[EnumDMDeploymentType
]({{ site.dlr_enumerations }}other-enums.html#dm_deploymenttype)
Sets the charge way.
int chargeWay
Value Range
A value of [EnumDMChargeWay
]({{ site.dlr_enumerations }}other-enums.html#dm_chargeway) Enumeration items.
Default value
DM_CW_AUTO
See also
[EnumDMChargeWay
]({{ site.dlr_enumerations }}other-enums.html#dm_chargeway)
Sets the method to generate UUID.
int UUIDGenerationMethod
Value Range
A value of [EnumDMUUIDGenerationMethod
]({{ site.dlr_enumerations }}other-enums.html#dm_uuidgenerationmethod) Enumeration items.
Default value
DM_UUIDGM_RANDOM
See also
[EnumDMUUIDGenerationMethod
]({{ site.dlr_enumerations }}other-enums.html#dm_uuidgenerationmethod)
Sets the max days to buffer the license info.
int maxBufferDays
Value Range
[0,0x7fffffff]
Default value
7
Sets the license modules to use.
int[] limitedLicenseModules
Value Range
A list of the [EnumDMLicenseModule
]({{ site.dlr_enumerations }}other-enums.html#dm_licensemodule) Enumeration items.
Default value
null
See also
[EnumDMLicenseModule
]({{ site.dlr_enumerations }}other-enums.html#dm_licensemodule)
Sets the max concurrent instance count.
int maxConcurrentInstanceCount
Value Range
[1,0x7fffffff]
Default value
1 Remarks
It works only when chargeWay is setting to DM_CW_CONCURRENT_INSTANCE_COUNT It is the total number of instances used by multiple processes. For example, if there are two .EXE are running on the server and each .EXE may have 10 instances at most, then you should set maxConcurrentInstanceCount to 20.
The organization ID got from Dynamsoft.
String organizationID
Value Range
Any string value
Default value
""
Sets the products to get the license for. Product values can be combined.
int products
Value Range
A combine value of [EnumProduct
]({{ site.dlr_enumerations }}other-enums.html#product) Enumeration items.
Default value
PROD_ALL
See also
[EnumProduct
]({{ site.dlr_enumerations }}other-enums.html#product)