linkRole (property)

The class's role on this link.

Syntax

- (int)linkRole:(int)linkIndex;

/* Possible Values */
LR_SENDER(0),
LR_RECEIVER(1)
public func linkRole(linkIndex: Int32) throws -> AmqpLinkRoles
public enum AmqpLinkRoles : Int32 { case lrSender = 0 case lrReceiver = 1 }

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.

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