LinkCredit Property

The amount of credit currently available to this link's sender.

Syntax

ANSI (Cross Platform)
int64 GetLinkCredit(int iLinkIndex);

Unicode (Windows)
LONG64 GetLinkCredit(INT iLinkIndex);
- (long long)linkCredit:(int)linkIndex;
#define PID_AMQP_LINKCREDIT 38

IPWORKSIOT_EXTERNAL void* IPWORKSIOT_CALL IPWorksIoT_AMQP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);

IPWORKSIOT_EXTERNAL int IPWORKSIOT_CALL IPWorksIoT_AMQP_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

0

Remarks

The amount of credit currently available to this link's sender.

This property holds the amount of credit currently available to this link's sender. The sender on a link can only send messages if it has non-zero credit.

The LinkIndex parameter specifies the index of the item in the array. The size of the array is controlled by the LinkCount property.

This property is read-only and not available at design time.

Data Type

Long64

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks IoT 2020 C++ Edition - Version 20.0 [Build 8265]