LinkReceiveMode Property
The receive mode this link is operating in.
Syntax
ANSI (Cross Platform) int GetLinkReceiveMode(int iLinkIndex); Unicode (Windows) INT GetLinkReceiveMode(INT iLinkIndex);
Possible Values
LRM_AUTOMATIC(0),
LRM_FETCH(1)
- (int)linkReceiveMode:(int)linkIndex;
Possible Values
LRM_AUTOMATIC(0),
LRM_FETCH(1)
#define PID_AMQP_LINKRECEIVEMODE 42 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 receive mode this link is operating in.
This property reflects the receive mode which this link is operating in, if it is a receiver link. (For sender links, this property's value means nothing.) Values can be:
- lrmAutomatic - Messages will be received automatically
- lrmFetch - One message will be received after each call to the FetchMessage method.
Refer to ReceiveMode for more information.
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
Integer