Package com.wibu.CodeMeter
Class CodeMeter.CMFAS
- java.lang.Object
-
- com.wibu.CodeMeter.CodeMeter.CMFAS
-
- Enclosing class:
- CodeMeter
public static class CodeMeter.CMFAS extends java.lang.ObjectCMFAS specifies additional data forCodeMeter.cmExecuteRemoteUpdate(long, long, byte[], CMFAS[], CMFAS[])or retrieves detailed results of this command.
-
-
Field Summary
Fields Modifier and Type Field Description longfirmCodecontains the Firm Code of the update either as restriction (input) or as result (list or update).longitemTyperetrieves the type of update as a result of the update execution:CodeMeter.CMFAS_ITEMTYPE_LICENSEspecifies that the update was a license update.CodeMeter.CMFAS_ITEMTYPE_CMACT_LICENSEspecifies that the license was a CmActLicense update.CodeMeter.CMFAS_ITEMTYPE_CMHW_LICENSEspecifies that the update type was for CmDongles.CodeMeter.CMFAS_ITEMTYPE_CMHW_LICENSEspecifies that the update type was a cloud license.CodeMeter.CMFAS_ITEMTYPE_CMFIRM_WBCspecifies that the update was a CmFirm.wbc (only for developer).CodeMeter.CMFAS_ITEMTYPE_CMACT_FI_TEMPLATEspecifies that the update was a CodeMeterAct template file (only for developer).byte[]mabDeviceIdcontains the device id as byte array with length CMACT_LEN_DEVICE_ID.longmaskcontains the serial mask of the update either as restriction (input) or as result (list or update).longresultretrieves the result of the update operation or in case of simulating the update usingCodeMeter.CMFAS_CTL_CMD_LISTthe estimated result.longselectspecifies the restrictions of updates by setting one of the following flags:CodeMeter.CMFAS_SELECT_WILDCARDspecifies that no restriction regarding the update is set.CodeMeter.CMFAS_SELECT_SERIALNUMBERspecifies that a specific serial number is set in mulSerial and musMask.longserialcontains the serial number of the update either as restriction (input) or as result (list or update).
-
Constructor Summary
Constructors Constructor Description CMFAS()
-
-
-
Field Detail
-
select
public long select
specifies the restrictions of updates by setting one of the following flags:CodeMeter.CMFAS_SELECT_WILDCARDspecifies that no restriction regarding the update is set.CodeMeter.CMFAS_SELECT_SERIALNUMBERspecifies that a specific serial number is set in mulSerial and musMask. The update is only applied if the serial number matches.CodeMeter.CMFAS_SELECT_FIRMCODEspecifies that a Firm Code is set in mulFirmCode. The update is only applied if the Firm Code matches. To retrieve the select options you can useCodeMeter.CMFAS_SELECT_MASK.CodeMeter.CMFAS_OPT_IGNOREspecifies that this update is ignored. This update will not be listed in the CMFAS array that retrieves the result of this operation. To retrieve the additional options you can useCodeMeter.CMFAS_OPT_MASK.
-
itemType
public long itemType
retrieves the type of update as a result of the update execution:CodeMeter.CMFAS_ITEMTYPE_LICENSEspecifies that the update was a license update.CodeMeter.CMFAS_ITEMTYPE_CMACT_LICENSEspecifies that the license was a CmActLicense update.CodeMeter.CMFAS_ITEMTYPE_CMHW_LICENSEspecifies that the update type was for CmDongles.CodeMeter.CMFAS_ITEMTYPE_CMHW_LICENSEspecifies that the update type was a cloud license.CodeMeter.CMFAS_ITEMTYPE_CMFIRM_WBCspecifies that the update was a CmFirm.wbc (only for developer).CodeMeter.CMFAS_ITEMTYPE_CMACT_FI_TEMPLATEspecifies that the update was a CodeMeterAct template file (only for developer).
-
serial
public long serial
contains the serial number of the update either as restriction (input) or as result (list or update).
-
mask
public long mask
contains the serial mask of the update either as restriction (input) or as result (list or update).
-
firmCode
public long firmCode
contains the Firm Code of the update either as restriction (input) or as result (list or update).
-
mabDeviceId
public byte[] mabDeviceId
contains the device id as byte array with length CMACT_LEN_DEVICE_ID.
-
result
public long result
retrieves the result of the update operation or in case of simulating the update usingCodeMeter.CMFAS_CTL_CMD_LISTthe estimated result. This member containsCodeMeter.CMERROR_NO_ERRORif the update was successful or the error code for this specific update if it has failed. If the result isCodeMeter.CMERROR_UPDATE_ABORTEDthis update was not done because of the set optionCodeMeter.CMFAS_CTL_OPT_ABORT_ON_ERROR.
-
-