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

IPWORKSMQ_EXTERNAL void* IPWORKSMQ_CALL IPWorksMQ_AMQP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);

IPWORKSMQ_EXTERNAL int IPWORKSMQ_CALL IPWorksMQ_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

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