LinkRole Property
The class's role on this link.
Syntax
ANSI (Cross Platform) int GetLinkRole(int iLinkIndex); Unicode (Windows) INT GetLinkRole(INT iLinkIndex);
Possible Values
LR_SENDER(0),
LR_RECEIVER(1)
- (int)linkRole:(int)linkIndex;
Possible Values
LR_SENDER(0),
LR_RECEIVER(1)
#define PID_AMQP_LINKROLE 43 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 class's role on this link.
This property reflects which role the class is in for this link. Valid values are:
- lrSender (0)
- lrReceiver (1)
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